Question

How to convert data around a circle for circular statistics?

I have generated 36 values at equidistant distances at an interval of 10. I want to convert it to circular data. Is there a way?...

2 years ago | 1 answer | 0

Question

How to see difference in color which has been overlapped between two fills?

I have two curves; for example clc; clear all; close all; x1=[-1:0.01:1]; y1=1-x1.^2; x2=[-2:0.01:2]; y2=1-x2....

2 years ago | 1 answer | 0

Question

How to determine over-fitting from non linear least square optimization tool?

I have developed a non-linear equation. It has 4 parameters to be optimized. I have trained the function with 10 experimental da...

3 years ago | 1 answer | 0

Question

How to add standard errors in bar charts (hatched)?

I have got 4 categories (say A,B,C,D) each having 3 values i.e. bar_3_categories=[1 2 3 4;1 2 3 4;1 2 3 4]; Error bars are e...

3 years ago | 1 answer | 0

Question

How to check optimized values after stopping the program midway?

I am using lsqnonlin (Levenberg-Marquardt algorithm) code to optimize 4 variables as can be seen in attached file. Many times I ...

4 years ago | 1 answer | 0

Question

How to define following function?

I have two row vectors (say A1(1:5) and B1(1:5)). I wish to define a function 'a(t)' as given below. I am repeatedly getting err...

4 years ago | 1 answer | 0

Question

How to generate a function from x-y vectors?

Hello MATLAB users. I got two vectors (say x and y). Is there any way to create a function i.e. y=f(x). I do not want the expres...

4 years ago | 4 answers | 0

Question

How to convert time signal in frequency signal?

I have an equation de/dt=C1*(ds/dt)+C2*s. C1,C2=constants, e=strain, s=stress, d/dt=derivative wrt time (t). I want to conve...

4 years ago | 1 answer | 0

Question

How to make contour plots at a given section?

I got a circle. It has values ranging from -5:5 at its various points including circumference. I want a similar plot as attached...

4 years ago | 0 answers | 0

Question

Can anyone help me with fourier series of a signal?

I got a signal as attached. My doubt is can I break the signal in a triangle and a straight line, then calculating fourier serie...

4 years ago | 1 answer | 0

Question

what are x-axis and y-axis labels in residual plots in stepwise regression?

I have generated histograms residual plots in stepwise regression. As per my understanding, the x-axis is residual and the y-axi...

5 years ago | 0 answers | 0

Question

How to get critical values and P values of F statistic and T statistic?

I am trying to develop a multivariable regression model having 2 input vectors and one output vector. there are 10 observations....

5 years ago | 1 answer | 0

Question

How to get possible combinations of variables?

Dear Friends, I have got 20 vectors named (A1,A2...A20) with say 500 observations. I wanted to generate all possible combination...

5 years ago | 1 answer | 0

Answered

Sum each element in a matrix with the previous elements on the same diagonal

Simple Brother, Use a(i,j)=a(i,j)+a(i-1,j-1) in your double loop (for i=1:2000(for rows); for j=1:2000(for columns)) Thanks fo...

Sum each element in a matrix with the previous elements on the same diagonal

Simple Brother, Use a(i,j)=a(i,j)+a(i-1,j-1) in your double loop (for i=1:2000(for rows); for j=1:2000(for columns)) Thanks fo...

5 years ago | 0

Question

How to Invert functions with same input variables?

Dear Sirs, I want to invert following set of equations: Y(i)=a(i)X1+b(i)X2+c(i)X3+d(i)X1X2+e(i)X1X3+f(i)X2X3+g(i)X1^2+h(i)X2...

5 years ago | 1 answer | 0

Answered

Least squares method of estimation and removing of outliers

Solve inverse of the problem and use stepwise linear regression (stepwiselm) or simply least square method (regress). Then gener...

Least squares method of estimation and removing of outliers

Solve inverse of the problem and use stepwise linear regression (stepwiselm) or simply least square method (regress). Then gener...

5 years ago | 0

Question

How to determine whether to remove a generated outlier or not in stepwise regression?

Dear Friends, I have developed a stepwise regression model. I am getting a outlier. I need to know the effective weight of the ...

5 years ago | 1 answer | 0

Question

How to predict output values of new data in stepwise regression?

Dear Friends, I have generated a stepwise quadratic model using stepwiselm. At start of running the code, I have divided my trai...

5 years ago | 1 answer | 0

Question

HOW TO CHOOSE EFFECTIVE PARAMETERs IN STEPWISE REGRESSION?

Dear friends, I got 80 independent variables and one dependent variable with 1000 datasets. I was performing stepwise regressio...

5 years ago | 1 answer | 0

Question

Should I expect to get a better answer from stepwise regression model if input variables are 20 with 550 observations and one output variable

I am using stepwise regression to generate a model. There are 20 input variables and 1 output variable with 550 observations. I ...

5 years ago | 0 answers | 0

Question

I am getting p values more than 0.05 while doing step regression? How to handle the resulted equation

Dear Sirs, I am using stepwise regression using 'stepwiselm' function. In my resulted equation, I am getting following p values...

5 years ago | 1 answer | 0

Question

How to generate a signal with single frequency from a signal with number of frequencies?

Sirs, I have got a signal with 17 frequencies (side by side) i.e frequency 1 is followed by 2 and then 3..... upto 17Hz. I am ...

5 years ago | 0 answers | 0

Question

Numbering lines passing through centre of circle and located at 0,90,180,270 degrees

I have a circle of radius (say 5mm) and centre (say(0,0)). I have drawn 4 lines each at 90 degrees all passing trough centre of ...

5 years ago | 1 answer | 0

Question

How to get mathematical expression of input and target in artificial neural network

I have four input vectors of (1*36) matrix each and one output vector (1*36). I want to develop a coding using ANN which not onl...

6 years ago | 0 answers | 0

Question

How to get Equation of Function developed by ANN (Curve fitting) after training

Can I get equation of the function in Curve fitting using Artificial Neural Network after training the inputs and outputs

6 years ago | 1 answer | 0

Answered

How to get centroid specific part of an image

Christiaan Sir, Your help is deeply appreciated. You made my day since I was working on this problem for last 3 days. I have ma...

How to get centroid specific part of an image

Christiaan Sir, Your help is deeply appreciated. You made my day since I was working on this problem for last 3 days. I have ma...

6 years ago | 0

Question

How to get centroid specific part of an image

I am intended to compute centroid of a part of image. I am getting centroid of all parts of the image which makes me confused of...

6 years ago | 3 answers | 2