photo

Hamed Najafi


Last seen: Today Active since 2024

Followers: 0   Following: 6

Message

Power Engineering Student

Programming Languages:
Python, C++, C, MATLAB, Arduino
Spoken Languages:
English
Pronouns:
He/him

Statistics

All
  • Personal Best Downloads Level 4
  • MATLAB Central Treasure Hunt Finisher
  • 5-Star Galaxy Level 1
  • Community Group Solver
  • Commenter
  • First Answer
  • Solver
  • Promoter
  • GitHub Submissions Level 3
  • First Submission
  • Explorer

View badges

Feeds

View by

Submitted


WT1
Wind Turbine charchteristics and operating point

9 days ago | 11 downloads |

Thumbnail

Submitted


synchronverter model simulink virtual inertia
simulink model of a synchronverter: an inverter that mimics a synchronous generator

19 days ago | 32 downloads |

Submitted


False Data Injection FDIAs Cyber-Attack Mitigation using ANN
simulation and mitigation of False Data Injection Attacks (FDIAs) in DC microgrids, based on artificial neural networks

25 days ago | 21 downloads |

Thumbnail

Solved


Check if number exists in vector
Return 1 if number a exists in vector b otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,2,3]; Returns 1.

29 days ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

29 days ago

Solved


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

29 days ago

Solved


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

29 days ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

29 days ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

29 days ago

Solved


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the second...

29 days ago

Solved


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

29 days ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

30 days ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

30 days ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

30 days ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

30 days ago

Submitted


MATLAB-SSR
Sub-Synchronous Resonance (SSR) Modal Analysis Tool by MATLAB

1 month ago | 14 downloads |

Thumbnail

Solved


Calculate compression ratio of engine
Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

1 month ago

Solved


Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

1 month ago

Solved


Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...

1 month ago

Solved


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

1 month ago

Solved


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

1 month ago

Solved


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

1 month ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

1 month ago

Solved


Convert radians to degrees
Given input in radians, output to degrees

1 month ago

Solved


Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given number of...

1 month ago

Solved


Pi Digit Probability
Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...

1 month ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

1 month ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

1 month ago

Solved


Find max
Find the maximum value of a given vector or matrix.

1 month ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

1 month ago

Load more