Question

How to solve ode functions?

Hi there, Please see my code which is attached here. I have tried to run it, but it says not enough inputs. Can anyone help ...

4 days ago | 1 answer | 0

Question

How to model an equation?

Hi there, I have been trying to think of how to model the problem bellow in MATLAB but I couldn't. Can anybody help here please?...

9 days ago | 1 answer | 0

Question

How to find the length of a Parabola

Hi there, How do I find the length of the parabola given by this equation? Equation: y = 1/20x^2 -5. Thank you for your help.

10 days ago | 1 answer | 0

Question

How to use width

Hello I have tried to work on smoothing of data and I came across this code. I dont really understand what the number 1s at th...

16 days ago | 0 answers | 0

Question

How to replace a column vector in matrix

A = [1 -4 1;4 -1 2;2 2 -3] B = [6;-1;-20] I want to replace part of matrx A i.e (1 -4 1) with B. How can I do this? Than...

23 days ago | 1 answer | 0

Question

How to create matrix and solve for answers?

Hi friends, I was trying to solve the problem below using matrix (system of linear equations) but I couldn't get to the final an...

23 days ago | 1 answer | 0

Answered

How to use If else statements?

Consider the following code fragment: forx = 1 : 5 fory = 1 : 3 disp('LOVE MELB'); end disp('LOVE VU...

How to use If else statements?

Consider the following code fragment: forx = 1 : 5 fory = 1 : 3 disp('LOVE MELB'); end disp('LOVE VU...

3 months ago | 0

Question

How to use If else statements?

Hi everyone, I have tried programming in Matlab to check if a number is in the range of 10-20 (use if-else), but I couldn't ge...

3 months ago | 2 answers | 0

Question

For and while loops

Hi everyone, How can I write a Matlab function that takes an input integer n and computes the following n!=n×(n−1)×(n−2)⋯ ×2...

3 months ago | 1 answer | 0

Question

How index using inequalities

Hello guys, I was doing this exercise and when I tried running my script, errors appeared. Create a 1*100 vector A with random ...

3 months ago | 1 answer | 0

Question

How to write a matrix m.file?

Hi, I have been trying to creat a matrix that would look exactly as the one shown below (Image) but I couldn't. I need your he...

3 months ago | 1 answer | 0

Question

How to change 'figure' title to wanted text

Hi I created a figure (graph) and I want to change the "figure" title to an intended text. How can I do that? Thank you and lo...

3 months ago | 3 answers | 0

Question

How to transform a wile loop into a for loop

Hi I have been working with while and for loops, and I want to know how to transpose or change a while loop to a for loop and ...

3 months ago | 2 answers | 0

Question

How to solve quadratic equation?

I need help with this question fellas. Write a function called “QuadRoot”that takes user input for a quadratic function (ax^2+b...

3 months ago | 1 answer | 0

Question

How to delete values less than a given limit?

Here's the question set up. Create a 1 x 10 vector K with random values ranged 0-5. Find a way to delete all the elemen...

3 months ago | 1 answer | 0