답변 있음
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