photo

Anh Mai


Last seen: plus de 2 ans il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

All
  • Thankful Level 3
  • Solver

Afficher les badges

Feeds

Afficher par

Question


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.

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 2 réponses | 0

2

réponses

Question


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

presque 3 ans il y a | 1 réponse | 0

0

réponse

Question


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

presque 3 ans il y a | 2 réponses | 0

2

réponses

A résolu


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

environ 3 ans il y a

A résolu


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

environ 3 ans il y a

A résolu


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

environ 3 ans il y a

A résolu


Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

environ 3 ans il y a

A résolu


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

environ 3 ans il y a

A résolu


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

environ 3 ans il y a

A résolu


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

environ 3 ans il y a

A résolu


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

environ 3 ans il y a

A résolu


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

environ 3 ans il y a

A résolu


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

environ 3 ans il y a