Question

Least square fit (regression analysis)

I have a x and y data, trying to find the the a and b coefficients using least square fit. this is my code My r transpose nee...

1 year ago | 1 answer | 0

Question

RK 4th order for second order ODE

Hi, please is there a MATLAB code for RK 4th method 2nd order ODE. I have seen RK 4th for 1st order ODE. what I I need is a cod...

1 year ago | 0 answers | 0

Question

Curve Fitting - X &Y data

I have x and y. Image attached How can I do at least three different curve fits that are appropriate for the data?

1 year ago | 1 answer | 0

Question

RK fourth order method for a 2nd order differential equation

d^2y/dx^2 + 0.6*dy/dx 0.8y = 0 parameters: y(0)=4 and y'(0)=0. from x=0 to x=5 with step size; h =0.5. I have this 2nd order ...

1 year ago | 0 answers | 0

Question

Curve fitting (Noise)

So I have this table of data, x and f(x). I am trying use an appropriate technique to fit a curve to the data But when I try to...

1 year ago | 1 answer | 0

Question

integration of a trajectory

So I have this task: How do I go from here. <</matlabcentral/answers/uploaded_files/138822/rov.PNG>> This is what I have...

1 year ago | 0 answers | 0

Question

Parse error: usage might be invalid MATLAB syntax

So, I'm to write a function called trapint.m that takes data sample locations and function samples at those locations as input ...

1 year ago | 1 answer | 0

Question

Solving ODEs using Runge Kutta Methods

*Total of 5 curves* <</matlabcentral/answers/uploaded_files/136936/Solved%20it.PNG>> So I'm to solve the above problem...

1 year ago | 1 answer | 0

Question

Numerical Integration and Approximation

Hi, So I have this function that takes data sample locations and function samples at those locations as input and returns an a...

1 year ago | 1 answer | 0

Question

Using Struct in Matlab

I need help on how to use a struct in Matlab. I need to create a function get_mas, the intent of this function is to sum the mas...

1 year ago | 1 answer | 0

Question

How to plot Fft of a Wilberforce Pendulum Data

if true % code endPlease, how can I import the data I generated in Excel into matlab to perform a Fourier transform of...

2 years ago | 1 answer | 0

Question

Fast Fourier Transform of a Wilberforce Pendulum

How can I perform the fast Fourier transform larger data that derived in excel for the behavior of a Wilberforce pendulum. H...

2 years ago | 0 answers | 0