回答済み
Solving nonlinear equation involving sum
It will take you a long time to evaluate the sum from n = 0 to n = 10000. You can solve it in a short time considering only fro...

4年以上 前 | 0

回答済み
How to solve 3 simultaneous algebraic equations with a equality constraint.
You only need to express in terms of and plot that relationship: syms x1 x2 x3 t x3 = solve(x1+x2+x3 == 420,x3) EQ1 = x1 ==...

4年以上 前 | 0

解決済み


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

4年以上 前

解決済み


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4年以上 前

解決済み


The Birthday Phenomenon
First off, leap years are not being considered for this. In fact the year that people are born shouldn't be taken into considera...

4年以上 前

解決済み


Don't be mean. Be nice!
For this problem, you will be given a range of single digits R, and a separate number K. You job is to calculate the mean of al...

4年以上 前

解決済み


ZigZag matrix with reflected format
ZigZag MATRIX with REFLECTED format. We have only input x. We have to create a matrix in the following pattern. input n=5...

4年以上 前

解決済み


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

4年以上 前

回答済み
how can I plot a unit step function?
This is my proposal, I hope it helps you: u = @(t) double(t>=0); h = @(t) u(t-2)-u(t-4); fplot(h,[0,5])

4年以上 前 | 2

送信済み


Water Properties
Computes some physical properties of water dependent on temperature, from 1 to 99 celsius.

5年弱 前 | ダウンロード 3 件 |

5.0 / 5
Thumbnail

送信済み


Moody chart
Plots the Moody chart.

5年以上 前 | ダウンロード 3 件 |

5.0 / 5
Thumbnail

送信済み


Colebrook-White Equation
Computes the friction factor in pipes for given values of the Reynolds number (Re) and the relative roughness coefficient (epsil...

5年以上 前 | ダウンロード 3 件 |

5.0 / 5
Thumbnail

送信済み


figure2pdf
FIGURE2PDF exports the current MATLAB figure to a PDF file.

5年以上 前 | ダウンロード 5 件 |

5.0 / 5
Thumbnail

送信済み


getfigdata
GETFIGDATA extracts the xyz data from a FIG file.

5年以上 前 | ダウンロード 3 件 |

5.0 / 5
Thumbnail

解決済み


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

5年以上 前

回答済み
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...

約6年 前 | 0

回答済み
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(...

約6年 前 | 0

回答済み
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(...

約6年 前 | 0

| 採用済み

回答済み
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...

約6年 前 | 0

| 採用済み

送信済み


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

6年以上 前 | ダウンロード 3 件 |

5.0 / 5
Thumbnail

送信済み


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

7年弱 前 | ダウンロード 1 件 |

0.0 / 5
Thumbnail

送信済み


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

7年弱 前 | ダウンロード 1 件 |

0.0 / 5
Thumbnail

送信済み


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

7年弱 前 | ダウンロード 1 件 |

5.0 / 5
Thumbnail

送信済み


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

7年弱 前 | ダウンロード 1 件 |

0.0 / 5
Thumbnail

送信済み


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

7年弱 前 | ダウンロード 1 件 |

5.0 / 5
Thumbnail