Risolto


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

quasi 4 anni fa

Risposto
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...

oltre 4 anni fa | 0

Risposto
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(...

oltre 4 anni fa | 0

Risposto
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(...

oltre 4 anni fa | 0

| accettato

Risposto
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...

oltre 4 anni fa | 0

| accettato

Inviato


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

oltre 4 anni fa | 1 download |

Thumbnail

Inviato


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

oltre 4 anni fa | 8 download |

Thumbnail

Inviato


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

quasi 5 anni fa | 2 download |

Thumbnail

Inviato


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

quasi 5 anni fa | 1 download |

Thumbnail

Inviato


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

quasi 5 anni fa | 3 download |

Thumbnail

Inviato


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

quasi 5 anni fa | 5 download |

Thumbnail

Inviato


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

circa 5 anni fa | 2 download |

Thumbnail