Question

How would you type this into matlab?

Hello all, I would like to know how would I type this equation into MatLab. Thank you

1 month ago | 0 answers | 0

Question

How to display my answer with out rewriting them?

Hello all, I have my code below that finds the min_max of my function. I would like for it to displapy all the min_max. When ...

2 months ago | 1 answer | 0

Question

Making a circle with circles

Hello all, I am trying to mod my currrent function that plots a circle and fills it a color to ,ale a gird of dots that have c...

2 months ago | 1 answer | 0

Question

Writing a find function

Hello all, I am trying to run a function that will use the "find" function to separate grades i have my code below, but I do...

2 months ago | 1 answer | 0

Question

How Calculate R squared from a linear regress

Hey all I have this equation below and trying to figure out how to get the R^2. I can't seem to understand what I am doing wron...

2 months ago | 1 answer | 0

Question

Fit a line to data using regress

Hey all, I am trying to use a new matlab function "regress" and would like some help on how to use it to fit a line. below is ...

2 months ago | 1 answer | 0

Question

plot a marker in the center of the circle?

Hello all I have my code below and would like to know, how can I edit it that it will always put a marker in the center of the ...

2 months ago | 1 answer | 0

Question

how to output data into a text file

Hello everyone, I am having an issue with how to export data to a text file. I have been looking at https://www.mathworks.com...

2 months ago | 1 answer | 0

Question

Issues with entering into MATLAB

hello all I am trying to enter this into MATLAB but cant seem to get it right x = 0:0.1:10 y= (2*x^1.01)+ sin(3*pi/2 *x)-10...

3 months ago | 1 answer | 0

Question

How would I plot a sin wave.

Hey all how would this be coded? For a period of 10 seconds and an amplitude of 1 meter, develop a variable that consists of a ...

3 months ago | 1 answer | 0

Question

How to enter a function into MATLAB

Hello good day, I am having issues on how to enter this equation into MATLAB. I have it as H/2 * cos(k*x)*cos(sigma*t) ...

3 months ago | 1 answer | 0

Question

how to black out part of an image ?

Hello all I have a question on how to black out part of my image. (the clown smile) i have the code to load it all in. But ne...

3 months ago | 1 answer | 0

Question

How to enter a function into matlab

Hello good day, I am having issues on how to enter this equation into MATLAB. Also, thank you in advance !

3 months ago | 1 answer | 0

Question

How would you evaluate this ?

Hello good day, I have this code, but its only give me one answer. I need it to do it for all numbers of x from 0-100 with incr...

3 months ago | 1 answer | 0

Question

Making a parabola and plotting

how can you make a parabola (is it not y = ax^2)? and plot it. Also how to overlay two more parabolas on the same axes using ...

3 months ago | 1 answer | 0

Question

solving coefficient with linear algebra

How can I determine the coefficients, p, of the least squares fit of a plane through the data defined as: data = p(1) + p(2)*x ...

3 months ago | 1 answer | 0

Question

How do you do matrix math?

Hey all, How can you develop a 3 x 3 matrix with elements ranging from 1 to 9. Then perform the calculation that Add 40 to it...

3 months ago | 1 answer | 0

Question

How do you use the NaN function?

How would write a code that for a vector that is 500 data points long, but the first 123 data points are NaN?

3 months ago | 1 answer | 0

Question

least-squares-regression

I need help understing what to do here, I know i need to slobe for p1 and p2x but stuck, I have the code below but just stuck. ...

3 months ago | 1 answer | 0

Question

3D Matrix manipulation

Hey everyone one! I need some assitance with developing a 3x3x10 matrix with any numbers. That writes the command that will ...

3 months ago | 1 answer | 0

Question

Only 1st layer of a 3D Matrix.

I have this code and I am having issues trying to figure out how to just display the 1st layer with it's own variable. Also an...

3 months ago | 2 answers | 0

Question

Making a row vector

Hey Everyone, how would you mak a row vector that goes from 0 to 100 and then back down to 0, by increments of 5? I know how t...

3 months ago | 2 answers | 0

Question

How to make a 3D Matrix

How to make a 3D Matrix that contains all ones in the first layer, all twos in the second layer and all threes in the third laye...

3 months ago | 1 answer | 0

Question

Help, How do I stop my iteration from going when it gets the answer?

Hello good day, below is my code and I am using Netwons method of iteration. I have the code typed out, but I dont know how to ...

3 months ago | 2 answers | 0