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

9 years ago

Answered
Divide 73x400 matrix into 73 1x400 matrices
See the following discussion: http://www.mathworks.com/matlabcentral/newsreader/view_thread/297933

9 years ago | 0

| accepted

Solved


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

10 years ago

Answered
Describing Multiple Cubes using a Single Struct
You can create struct arrays to store the same type of data for multiple cubes. For example, you can store the faces and ver...

10 years ago | 0

Answered
curve fitting tool equation
There should be a panel called "Results" in the cftool window. This panel shows the equation as well as the coefficients (with 9...

10 years ago | 2

Answered
Axis labels in root locus
The plot generated by "rlocus" has two sets of axes, one hidden and one visible. The labels that you see are linked to the hidde...

10 years ago | 3

| accepted

Answered
draw two 3D curve but can't hold them in one figure
The reason why the second plot does not show up is because the variables "X" and "Z" are both scalars while "Y" is a vector. You...

10 years ago | 0

Answered
How can I define my own colororder for a bodeplot?
The function "bodeplot" defaults to colors specified in MATLAB. If you try to set a color order when using the "hold on" command...

10 years ago | 2

| accepted

Answered
exporting listbox to excel while adding spaces in between variable names
Your idea of using a loop to insert spaces should work. Note that "Variable_Name" will contain a cell array. So to insert a blan...

10 years ago | 0

| accepted

Answered
How to insert correlation co-efficient matrix between variables following normal distribution in matlab?
It seems like you want to generate two normally distributed random variables with correlation of 0.9. You can use the function "...

10 years ago | 0

| accepted