![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/19724226_1601250898471_DEF.jpg)
Anh Mai
Followers: 0 Following: 0
Feeds
提问
Plot function in matlab
Hi all, I would like to plot a graph with x axis as below. Is there any syntax that I can use to set it up? Thank you all.
2 years 前 | 2 个回答 | 0
2
个回答提问
Too many open files. Close files to prevent MATLAB instability.
Below is part of a code that I ran. It show this error while ii reaches 1949. Too many open files. Close files to prevent MATL...
3 years 前 | 1 个回答 | 0
1
个回答提问
Plot a matrix and assign properties for each column
Hi all; I am trying to find a shorter way to plot a matrix with 3 columns. I dont know how to assign the properties for each li...
3 years 前 | 1 个回答 | 0
1
个回答提问
Plot 3D shape with grid cell
Can we plot some 3D like this using MATLAB? I will only need to enter XYZ to get the 3D shape of XYZ with the grid cells as th...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to use logical indexing for slices of a 3D matrix
Hi guys, I am trying to set value for different page of 3D matrix based on 2D matrix logical command. domain=rand(4,4,4); dom...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to document the input from Matlab into the file
Hi all, I have a code that allow user to enter multiple inputs via 'For' loop. However, I usually don't remember the inputs un...
3 years 前 | 1 个回答 | 0
1
个回答提问
Draw circle and ellipse in matrix
Hi all, I am using the following code to draw a circle in a given matrix. However, it only works for a squared matrix, if I chan...
3 years 前 | 2 个回答 | 0
2
个回答提问
Assign values for different layers of a 3D matrix
Hi all; I am trying to create a 3D domain, for example a parking lot with 100x100x10 size. Each element of the matrix represent...
3 years 前 | 0 个回答 | 0
0
个回答提问
Set value for elements within a polygon
Hi all, I am new to Matlab and trying to solve a problem with polygon. I want to create a random 2-D matrix, let's say 100 by...
3 years 前 | 2 个回答 | 0
2
个回答已解决
Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...
3 years 前
已解决
Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...
3 years 前
已解决
Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...
3 years 前
已解决
Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...
3 years 前
已解决
Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...
3 years 前
已解决
Solve a System of Linear Equations
*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...
3 years 前
已解决
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
3 years 前
已解决
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
3 years 前
已解决
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...
3 years 前
已解决
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:...
3 years 前