Community Profile

photo

Anh Mai


Last seen: 2년 초과 전 2021년부터 활동

Followers: 0   Following: 0

통계

All
  • Thankful Level 3
  • Solver

배지 보기

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년 초과 전 | 답변 수: 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...

2년 초과 전 | 답변 수: 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...

2년 초과 전 | 답변 수: 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...

2년 초과 전 | 답변 수: 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...

2년 초과 전 | 답변 수: 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...

2년 초과 전 | 답변 수: 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...

2년 초과 전 | 답변 수: 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...

2년 초과 전 | 답변 수: 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...

2년 초과 전 | 답변 수: 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년 전

문제를 풀었습니다


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년 전

문제를 풀었습니다


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

대략 3년 전

문제를 풀었습니다


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

대략 3년 전

문제를 풀었습니다


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년 전

문제를 풀었습니다


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

대략 3년 전

문제를 풀었습니다


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년 전

문제를 풀었습니다


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년 전

문제를 풀었습니다


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년 전

문제를 풀었습니다


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년 전