53 total contributions since 2012

Professional Interests: work group

Question

how to download data from websites?

Hey all; I have to obtain data from OPeNDAP data set. How can I download it? is there a matlab function for it? I tried to us...

7 years ago | 1 answer | 0

Question

Polyfit in case of power function

Hi All. I have an equation of the form y=b+ a.x^(1/3) I tried to fit a line by assuming m=x^(1/3); p=polyfit(m,y,...

7 years ago | 0 answers | 0

Question

Bringing plots into a single figure

Hi All; I have 6 matlab plots which I myself didn't plot. Can I bring this separate plots into one plot of 3x2 subplots. A...

7 years ago | 4 answers | 0

Question

Putting together matlab plots into one

Dear All I have 8 separae matlab plots. Is there a way to put them into one matab figure of such as 2x4? I tried to use sub...

7 years ago | 1 answer | 0

Question

Nonlinear regression in case of many fits

I have tried to fit certain data points using equation of the form y=ax^-1/3. My first question is , Is it possible to linearise...

7 years ago | 1 answer | 0

Question

How to convert cell to matrix

I have a cell which is given by A= <1x13cell>. I want to extract the contents of the cell into the form of a matrix of size (13...

7 years ago | 3 answers | 0

Question

finding values from matrix

Dear All I have a matrix which is given by A= [20 140]. I want to find the location of elements in A which are greter than 45...

7 years ago | 3 answers | 0

Question

X axis of feather plot

I plotted vector of wind velocity given by U and V , as feather(U,V) Is there a way to provide the x axis in such a wa...

7 years ago | 1 answer | 0

Question

Magnitude and direction of vectors

I have really find it difficult to plot both flow and direction of flow vectors superimposed each other. I have plotted the dire...

7 years ago | 1 answer | 0

Question

How to use accumarray?

I have a matrix of y=[9, 5346] I want to find the the mean of every six values of each row. I tried this function but can't r...

7 years ago | 2 answers | 0

Question

plotting magnitude of vectors

I have two matrix of x= [1 250] and y= [1 250]. These are readings of signal which contains negative and positive values. I mana...

7 years ago | 0 answers | 0

Question

'x10^5' show up in MATLAB plots

Why is 'x10^5' show up in MATLAB plots once I change 'datenum' to actual dates using 'datetick'. In the same manner the datenu...

7 years ago | 1 answer | 0

Question

Error in matlab Improper assignment with rectangular assignment with rectangular matrix

hey matlab friends; I want to find the locatons of matrixpoints which is given by comtime=[4449,1] from a matrix Tt= [5400,1]...

7 years ago | 1 answer | 0

Question

how to exract varying matrix data

I have a file X=(20,350) and i want to select the column value using a selecting a selcting matrix y= (1,350) for i= 1:350 ...

7 years ago | 1 answer | 0

Question

Replicating a matrix in matlab

I have a matrix v=(1:2400,1). I want to replicate each element of v by the corresponding element in p=(1:2400). Here is the func...

7 years ago | 2 answers | 1

Question

Error ' Assignment has more non-singleton rhs dimensions than non-singleton..'

I want to find the location of maximum 'EC' in the first direction. Here is the code I used to find so. for ii=1:size(EC,2);...

7 years ago | 0 answers | 0

Question

How to interpolate to the nearest value

HI I have vector, v=(x,Y) and I want to find the nearest value of 'x' for C=(1,yi) rather than the interpolated values of ...

7 years ago | 2 answers | 0

Question

How can I generate random numbers

I have along data series which contains 3451 elements. From this I want to select 1/3 rd of the elements for validation purpose ...

8 years ago | 1 answer | 0

Question

varying size of window for filtering

Am processing time series signal which has semi diurnal nature. I want to pass a filtering window of varying size which has wi...

8 years ago | 0 answers | 0

Question

why filtering gives nan values.

Am applying low pass filter to my signal data using [b11,a11] = butter(5,4/24); MM1= filtfilt(b11,a11,MM1); but the r...

8 years ago | 1 answer | 0

Question

Trouble with time lag between peaks

I have two series of data: (time,x) and (time,y) . My intention is to plot the time lag between the the peaks in x and y . Due t...

8 years ago | 1 answer | 0

Question

Interpolation incase on nan

I have a data which includes nans and I used interp1 to interpolate the data points, but error message is popping up which says ...

8 years ago | 1 answer | 0

Question

How to detect a peak from a graph

A part of my work need me to peak the peak from a graph of cyclic nature with time vs velocity. I tried to use treshold and and ...

8 years ago | 4 answers | 0

Question

obtaining the maximum values from the series

I have two series of readings (time, x) and (time, y). Both graphs have cyclic nature which respect to time. With peak and trou...

8 years ago | 2 answers | 0

Question

How can I add y labels on both axis of matlab plot

I have a plot which is already plotted by some one else. It has ylabel on the right side and I want to show the same labels on t...

8 years ago | 1 answer | 0

Question

How to add columns with month number and day

Hi I have daily observation data which runs for 8 years. The beginning of the data is 1St of January 2000 and ends on 30 Apri...

8 years ago | 1 answer | 0

Question

Changing the axis property of matlab

I have the already plotted matlab figure and I want to change the x-axis value of the plot. I intend to multiply the old x -val...

8 years ago | 1 answer | 0

Question

How can I draw hysteresis loop using matlab

I have velocity ,v, and discharge, q, vectors . I want to draw hysteresis plot between the two. I used plot_dir function but it ...

8 years ago | 1 answer | 0

Question

Correlation coefficient for robust fit and regress fitting are they equal?

I have done regression analysis for the x and Y using two cases. For the first regression I used 'regress' and for the second ca...

8 years ago | 1 answer | 0