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

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

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

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

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

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

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

7 years ago | 1 download |

4.0 / 5
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.

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

9 years ago | 0

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

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

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

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

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

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

9 years 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]'

9 years ago | 0