Submitted


getfigdata
GETFIGDATA extracts the xyz data from a FIG file.

4 years ago | 1 download |

Thumbnail

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

4 years ago

Answered
how to write a user defined function that calculates the maximum or minimum of a quadratic equation of the form
Try this: --------------------- f = @(x) x^2-5*x+6; initial = 0; fminsearch(f,initial) --------------------- To find a max...

5 years ago | 0

Answered
Why power function give a complex number result?
The "problem" appears when you raise the base (-x / x50) to power n. In IEEE floating-point computations: a ^ n = exp(n * log(...

5 years ago | 0

Answered
Haw can I calculate the difference between two points in a plot?
Try this: --------------------------------------- plot(...) [x,y] = ginput(2); % clic on each point dx = diff(x) dy = diff(...

5 years ago | 0

| accepted

Answered
Adding semicolon and comma and saving it into .txt file
Try this low-level code: ----------------------------------------- x = randi(9,[1,2*6001]); % ACTUAL DATA fileID = fopen('da...

5 years ago | 0

| accepted

Submitted


epanet_map
Draws an EPANET network in a new MATLAB figure using geographic axes and satellite maps.

5 years ago | 3 downloads |

Thumbnail

Submitted


Hurwitz Matrix
Computes the Hurwitz matrix for a given polynomial. The principal minors are also computed.

5 years ago | 8 downloads |

Thumbnail

Submitted


Steady State
Steady-state (final) response of linear dynamic systems under constant input.

5 years ago | 2 downloads |

Thumbnail

Submitted


Trapezoidal
Simulation of linear dynamic systems using trapezoidal integration method with constant time step.

5 years ago | 1 download |

Thumbnail

Submitted


Jacobians
Linear approximation matrices of a non-linear dynamic model.

5 years ago | 1 download |

Thumbnail

Submitted


Equilibrium Point
Equilibrium point of a non-linear dynamic system.

5 years ago | 7 downloads |

Thumbnail

Submitted


Friction and Roughness
Calculate the Darcy-Weisbach friction factor and estimate the relative roughness coefficient of a pipeline.

6 years ago | 3 downloads |

Thumbnail