Community Profile

photo

Anh Mai


Last seen: más de 2 años hace Con actividad desde 2021

Followers: 0   Following: 0

Estadísticas

All
  • Thankful Level 3
  • Solver

Ver insignias

Feeds

Ver por

Pregunta


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.

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace