Solved


Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

mer än 5 år ago

Solved


Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

mer än 5 år ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

mer än 5 år ago

Solved


Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

mer än 5 år ago

Solved


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

mer än 5 år ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

mer än 5 år ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

mer än 5 år ago

Submitted


generate random numbers according to pdf or cdf
generate random numbers according to a user defined probability density function (pdf) or cumulative distribution function (cdf)...

mer än 5 år ago | 3 downloads |

Thumbnail

Answered
How to solve DE by matlab
Usually, ode45, ode23 and some other commands can solve DE. However I think in this homework, you should code yourself.

mer än 7 år ago | 0

Answered
cftool remove original data from fitted result
1. fit->save to workspace, choose save fit to matlab object named fit1, for example. 2. In command window, plot(x,fit1(x)). Her...

mer än 7 år ago | 0

Answered
Integrator in simulink ?
Simulink/Sinks/XY Graph. Is this what you want?

mer än 7 år ago | 0

Answered
distance measurements from image to world
I don't think there is a specialized function or toolbox in Matlab to solve your question. However you can have the distance of ...

mer än 7 år ago | 0

Answered
importing csv file into matlab
I think it is because the csv file contains too many strings. csvread is to load data not string. You can use "Improt data" on y...

mer än 7 år ago | 0

Answered
EM Simulation of modified capacitor structure
What you want to solve is a partial differential equation (EQS or MQS equations). In matlab, PDEtool may help you. However, I th...

mer än 7 år ago | 0

Answered
Plotting electric field at many points in 3D space.
Maybe the function quiver3 may help you. However I haven't use this function so long time. I'm not sure if it works.

mer än 7 år ago | 0

| accepted

Answered
How can I solve this system? fsolve solver fails
Solving f(x)=0 means the optimization of min(abs(f(x))). So, optimtool, which is a powerful toolbox in matlab may also help you....

mer än 7 år ago | 0

Answered
how to do sum up elements one by one (sequence addition)
just a hint: [1 3 6 10]'=[1 1 1 1;0 1 1 1; 0 0 1 1; 0 0 0 1]*[1 2 3 4]'

mer än 7 år ago | 0