Question

How to take derivative of a function

hi, please can you help me to find derivative of the following . x = t; y = sin(t); z =cos(t) % for the range-5 <...

2 years ago | 1 answer | 0

Question

how to select range of dates

I have stock data of 10 years with two columns.One is the stocks which is numeric and the other is dates which are in datetime f...

3 years ago | 1 answer | 0

Question

Confusion in using polyfit and polyval to predict data

hi, I have a date of New Zealand population of 92 years. I am reading the code which uses polyfit and polyval to predict popul...

3 years ago | 1 answer | 0

Question

how to plot datetime against number

hi, I imported some data from excel file.I have two columns.One is dates and other is stocks. 'dates' column is of the form 'd...

3 years ago | 2 answers | 0

Question

help with mat file

When I load a mat file by giving its full path like this load ('E:\Mathematical modellling\assignment1\april6\spectral_3.ma...

3 years ago | 0 answers | 0

Question

I want to find the peak values of the out put signal.

I have generated a waveform ,added some noise to it and then used fft to recover the signal. The code is below % Generate ...

3 years ago | 1 answer | 0

Question

how can I plot this exponential function?

hi, I have the following function g with the values of x x = linspace(-2,2) G = @(x) exp(x) .* (x <= 0) + sin(2*pi*x)....

3 years ago | 1 answer | 0

Question

how to write summation with limits?

hi, How can I write the following functions in matlab? <</matlabcentral/answers/uploaded_files/111731/matlab.jpg>>

3 years ago | 1 answer | 0

Question

Why moving average plot is not starting as the original signal

Hi, I am trying to analyze a stock data with only two columns i.e dates and value of stocks Both of these columns have length...

3 years ago | 1 answer | 0

Question

What is meant by "centered moving average" ? Is it different from 'moving average'?

Hi, I am new to matlab. I was solving a problem where I have to find moving average of a sample single .The output should be c...

3 years ago | 3 answers | 0

Question

Alternate way to find the frequencies using fft apart from the fft plot?

hi, I have plotted the following three Sinusoidal wave forms of 70,80 and 90 MHz. t=0:1/1000:0.2-1/1000; w1=2*pi*70; ...

3 years ago | 1 answer | 0

Question

How to write exponential function with limits?

Hi, How can I write the following two functions <</matlabcentral/answers/uploaded_files/110988/question2.jpg>> Can I use ...

3 years ago | 1 answer | 0

Question

Fitting data in second order polynomial

hi, I am trying to solve this question. <</matlabcentral/answers/uploaded_files/110825/question2.jpg>> A=[0 0 1 ...

3 years ago | 2 answers | 0

Question

how can I adjust the axes for the table

Hi, I have the following two objects. <</matlabcentral/answers/uploaded_files/110844/question2.jpg>> I have plotted them ...

3 years ago | 1 answer | 0

Question

How can I write this exponential function in matlab?

hi, please can anyone help me write the following functions in matlab? <</matlabcentral/answers/uploaded_files/110607/matlab...

3 years ago | 1 answer | 0