Community Profile # JPS

Last seen: 16일 전 2020 이후 활성

Masters Student
Dept of Aerospace Engineering
IIT Kanpur

#### Statistics

All
• • • • • • • 배지보기

#### Content Feed

보기 기준

질문

Resizing Legend Box while Exporting in MATLAB Figures
I want my MATLAB Figure to be resized to inches. x = 0:0.01:2*pi; y = sin(x); z = cos(x); y2 = sin(2 * x); z2 = cos(2 * x)...

5달 전 | 답변 수: 1 | 0

### 1

답변

해결됨

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

약 1년 전

질문

Finding Symbolic Matrix Derivative
I have the following Matrix and I wish to find its derivative, A = Please note that and in this matrix are functions of tim...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

Giving Vector Inputs in Function Handles
I have a function f that takes in 5 inputs and gives an output. I wish to evaluate this function at different set of points. ...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

Hi, I have .fig in the current directory and wish to extract data from it. I used the following code for this purpose, open('p...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Modifying y axis division
Hi, I wrote some code and got the following graph. My Problem is the y axis has only 4 points i.e [0 , 5 , 10 , 15] bu the x...

1년 이상 전 | 답변 수: 0 | 0

### 0

답변

답변 있음
To find the maximum value in a matrix?
or you can use, M = max(max(A));

1년 이상 전 | 1

질문

Input a Vector as Function Argument
Hi, I was facing this problem in inputing a vector to my user defined function. I have defined a function that needs two inputs...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

해결됨

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

1년 이상 전

해결됨

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

1년 이상 전

질문

checking if a variable contains another variable
hi, i was writing some code to solve first order differential equations using euler's approximation method(no problem if you do...

1년 이상 전 | 답변 수: 3 | 0

### 3

답변

제출됨

Numerical Integration using Simpson's 3/8 Rule
This file contains the simpson38 function that calculates the integral of a mathematical function f(x) using composite Simpson's...

1년 이상 전 | 다운로드 수: 18 |

질문

Looping with MATLAB Tables
I have 10 different MATLAB Tables in my workspace. I wish to do the same operation to the 10 Table variables. I have written the...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

How to customize Legends?
figure plot(1 , theta_tip_analytical_c1 , 'ro') hold on plot(2 , theta_tip_analytical_c2 , 'ro') plot(3 , theta20g , 'ro') ...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

해결됨

Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

1년 이상 전

해결됨

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

1년 이상 전

해결됨

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

1년 이상 전

해결됨

Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.&#8519;^(-&lambda;t)*cos(2πft)| where |A|, |&lambda;|, and |f| ...

1년 이상 전

해결됨

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

1년 이상 전

해결됨

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

1년 이상 전

해결됨

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

1년 이상 전

해결됨

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

1년 이상 전

해결됨

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

1년 이상 전

질문

E = m*c^2 as Symbolic Equation
Hello, I have been learning to use Symbolic Equations in MATLAB. I stumbled upon this question of writing Einstein's Mass Energ...

1년 이상 전 | 답변 수: 1 | 0

답변