Community Profile

photo

danish ansari


Last seen: 15 days ago Active since 2020

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 2
  • Explorer
  • First Review
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Question


FSOLVE requires all values returned by functions to be of data type double.
while running this code i am getting "FSOLVE requires all values returned by functions to be of data type double" error. Descri...

3 years ago | 1 answer | 0

1

answer

Question


2-D plot
i want to plot a graph: y axis: (0.00062539 - 1.000625*((Ri^2)/(R^2))) x-axis: R/Ri. Ri is constant and R is a variable. wh...

3 years ago | 1 answer | 0

1

answer

Question


plotting one variable function
i want to plot a graph: y axis: 4/(1+Ri)^2 xaxis: (1+Ri)/(2*(1-Ri)) : it should vary from 2 to 25 Ri is the only variabe. i ...

3 years ago | 3 answers | 0

3

answers

Question


need to write values on contour plots
i want to write the objective function value on the contours. which functiona should i use? as of now i am using this ---% p...

3 years ago | 2 answers | 0

2

answers

Question


minimum value of one inequality
i need to calculate n which should give minimum even value from the expression. what function should i use to code this. 1/(2...

3 years ago | 2 answers | 0

2

answers

Question


How to compute intersection point for each inequality
i need to find the intersection of the following inequalities: 1) t>=2.5*s 2) 0.5<=s<=10 3) 2.5<=t<=25 4) 10<=r<=20 where r...

3 years ago | 1 answer | 0

1

answer