Answered
Warning: Matrix is singular, close to singular or badly scaled. Results may be inaccurate. RCOND = NaN.
Yes it works now, thank you David Goodmanson

6 years ago | 0

| accepted

Question


Warning: Matrix is singular, close to singular or badly scaled. Results may be inaccurate. RCOND = NaN.
I have coding such as this: En = length(n); % n = number of data tottaly Ex1= sum(x1); % Ex1= number of Depth ...

6 years ago | 1 answer | 0

1

answer

Question


make a loop for plotting diagrams
I have 40 data and each of them consist of two colom (period and amplitude). I want to know how to plot those data by using loop...

6 years ago | 1 answer | 0

1

answer

Question


Plot part of data
I have data like this: t Amp 0.00000 0.14216 0.02000 0.14648 0.04000 0.15523 0.06000 0.16035 0.08000 ...

6 years ago | 1 answer | 0

1

answer

Question


error in fopen when use dlmread
file1 = dlmread('Matched_TNG20100518CISI_N.txt','', 5, 0) fid = fopen(file1, 'r') Axcel1=fscanf(file1,'%g %g %g %g %g\n',[4,In...

6 years ago | 1 answer | 0

1

answer

Question


I have problem with my coding. Attempted to access LPi(4); index out of bounds because numel(LPi)=3. Error in PDF_Repi_Mw_amax_PGA (line 286) if LPi(i)<5.0;
for i=1:length(rd) for j=1:length(amaxnew) %for k=1:length(Ksigm) CSR(i,j)= 0.65*(amaxnew(j))/g*(dt(6)/Di...

6 years ago | 0 answers | 0

0

answers

Question


Implementation if statement with two different conditions
I have a code using if and else with two different condition 1. if FS1 <= 1 else FS1>1 2. if depth < 20 else depth>20 This ...

7 years ago | 2 answers | 0

2

answers

Question


Nonlinier Regression withExponential Approach.
I want to develop an equation from Nonlinier Regression withExponential Approach. My code like this: b1=2; b2=3; b3=0.01; b4...

7 years ago | 0 answers | 0

0

answers

Question


about non linier regression
I have a formula to get Nonlinear regression. But I have a problem to define tbl and b. May be is there anybody can help me to ...

7 years ago | 0 answers | 0

0

answers

Question


About regression with bootstrap
I have a function to calculate regression with bootstrap approach This is my function: function r=reboots(rd,Mw amax depth Vs ...

7 years ago | 0 answers | 0

0

answers

Answered
Add a legend in plotting
This is my plotting :)

7 years ago | 0

Question


Add a legend in plotting
I want to add a legend in my plotting, in the explanation I want to add some kind of text 500 years, 1000 years, 2500 years and ...

7 years ago | 2 answers | 0

2

answers

Question


Add a legend in plotting
I want to add a legend in my plotting, in the explanation I want to add some kind of text 500 years, 1000 years, 2500 years and ...

7 years ago | 0 answers | 0

0

answers

Question


an assignment A(I) = B, the number of elements in B and I must be the same?
clc clear all close %B =(kg/cm2) % totally vertical over pressure %Input File Input Regression(depth,rd,Vs).t...

7 years ago | 1 answer | 0

1

answer

Question


Convolution Program Program for Signal Processing
I want to know about how to develop convolution code for signal processing? How to convolve two signal? How to define phase of t...

8 years ago | 0 answers | 0

0

answers