Solved

Pizza!

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

bijna 4 jaar 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...

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

meer dan 4 jaar 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(...

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

meer dan 4 jaar 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(...

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

meer dan 4 jaar 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...

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

meer dan 4 jaar ago | 0

| accepted

Submitted

epanet_map

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

meer dan 4 jaar ago | 2 downloads |

Submitted

Hurwitz Matrix

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

bijna 5 jaar ago | 4 downloads |

Submitted

Steady State

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

ongeveer 5 jaar ago | 2 downloads |

Submitted

Trapezoidal

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

ongeveer 5 jaar ago | 2 downloads |

Submitted

Jacobians

Linear approximation matrices of a non-linear dynamic model.

ongeveer 5 jaar ago | 2 downloads |

Submitted

Equilibrium Point

Equilibrium point of a non-linear dynamic system.

ongeveer 5 jaar ago | 1 download |

Submitted

Friction and Roughness

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

ongeveer 5 jaar ago | 1 download |