Feeds
질문
How can i include error calculation in the linear regression in a for loop?
Hi everyone, I have two arrays X(150,3) and Y(150,3). does any one know how to calculate regression for each row including unc...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
What is the best non-linear least square fitting method that will parameter error in addition to parameters?
Hi, I have an array A, A=[296/296 0.08485182/0.08485182 296/463 0.070180715/0.08485182 296/681 0.055920654/0.08485...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
fitting a scatter plot to power law
I have an array A(5,2). how can i fit it to a power law y= c1*x^n1+c2*x^n2 in wich C1, C2, n1 and n2 are real numbers and yet to...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
How can i assign certain length for each column of exported text file?
Hi, I am trying to write a 8680*18 cell array in to a text file. But i need to assign certain defferent lenght for elements in ...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
How can i calculate the uncertainty for the division of two arrays having the error for the two arrays?
Hi everyone, i have two arrays A(n*1) and B(n*1) and their errors er_A(n*1) and er_B(n*1). C=(A./B-1)*1000, is calculted from t...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can i find the elements of an array with in tolerance and map them to a unique number if those number are within that tolerance?
Hi every one i have an array A=[0.5 1 1.75 2 5 5.25 5.75 6 6.25 9 9.25 9.5 10.25], now i want to find elements of t...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
How to store the result of a loop in a cell?
Hi everyone i have a matrix R(12*44) and X(12*1). i'm trying to take a linear regression for each column of matrix R in a for l...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can i fit a linear line to a scatter plot knowing the intercept?
Hi, I have an array lets say, E(500,2) and I want to fit a line to scatter plot of E (scatter(E(:,1), E(:,2))), but the interce...
대략 6년 전 | 답변 수: 1 | 1
1
답변질문
How can i remove outliers from a 3d array using median standard deviation?
Hi everyone, I have a 3d array E(i,j,k) in which k is the number of data in the dimension i and j. how can I remove the outlier...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
how can propagate error for division of two matrices?
I have two arrays E(i,j,k) and E_2(i,j,k) in which some elements of these matrices are nan values. while, I can calculate standa...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
How can i circle shift certain elements of two arrays simultaneously?
i have an array M=[ 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 5 5 6 ...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can i remove an entire row or column of a matrix if the elements of the matrix in the row or column of the matrix has been flagged with a certain number?
Hi everyone, I have a matrix T(150,63051) and another matrix Flag(150,63051) which is the flag matrix for T. now I want to remo...
6년 초과 전 | 답변 수: 2 | 0
2
답변질문
How can draw a linear regression though a plot?
Hi everyone I have to arrays f(32,302) and C(32,302) in which some of the elements of f and C are nan. i want to plot (plot(f,C...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
how can i store a number of cell arrays in one cell array?
Hi every one, i have 3 cell arrays lets say x,y and z in which each of these cell arrays stores a number of 3D arrays. now i wa...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
how can i take average of matrices in a cell?
Hi, i have a cell array X{16*12} in which each element of cell X is a 3d array. now I want to take the average of all the matr...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can i read in and work on multiple files with the similar name structure but different from each other by one or two characters in their name?
Hi, I have a 200 .nc files with name : OCS_iso1.cam.h2.00X-Y.nc with X and Y variables in the names, X=(01:01:100) and Y=(01...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
how can i interpolate a 2d matrix in to a 3d array?
Hi everyone I have arrays as follow: cros34(2951,201) and wl(2951,1) in which every element in each column of cros34 is re...
6년 초과 전 | 답변 수: 2 | 0
2
답변질문
how to delete an entire column from a matrix if there is a certain number in that column?
lets say i have a matrix as below: A = 1 1 1 1 1 2 2 2 2 2 3 3 3 ...
대략 7년 전 | 답변 수: 2 | 0
2
답변질문
how to split an array with a periodic set of elements as it reaches to the maximum elements?
lets say i have an array with periodic set of elements such as below: A=[2 2 2 3 3 4 4 5 5 5 1 1 1 2 2 2 2 3 3 4 4 4 4 5 5 1 ...
7년 초과 전 | 답변 수: 2 | 0
2
답변질문
regarding an array with periodic set of elements,how can i move the portion with maximum number to the beginning of the periodic set of elements?
lets say i have an array with periodic set of elements such as below: A=[2 2 2 3 3 4 4 5 5 5 1 1 1 2 2 2 2 3 3 4 4 4 4 5 5]; ...
7년 초과 전 | 답변 수: 0 | 0
0
답변질문
how can i sum over to variable in matlab?
Hi, i have a function as below in a for loop: for i=1:20 <</matlabcentral/answers/uploaded_files/67912/1.gif>> end; ...
7년 초과 전 | 답변 수: 2 | 0
2
답변질문
how can i substitute elements of a symbolic matrix with arrays of numbers?
Hi, i have a symbolic matrix A(2*3) = [a_1 a_2 a_3; a_4 a_5 a_6]; also i have 20*1 arrays of numbers. such as ...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can i make a matrix with variable elements?
Hi, i'm trying to make 2*3 matrix as transformation matrix that includes variable elements and use it in a for loop (summing ov...
7년 초과 전 | 답변 수: 0 | 0
0
답변질문
how can i fit a set of data to a function?
i have a set of data point[s] (r,di) and i would like to fit this data to a so called pade function M_0*(1+x)^3/(1+sigm...
대략 8년 전 | 답변 수: 2 | 0
2
답변질문
how can i plot horizontal error bar ?
how can plot horizontal error bar in x direction? can someone help me with this? thank you in advance
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
how can i overlay a scatter plot on world map in matlab?
Hi every one; i have two data sets which are the measurements in certain latitude and longitude, i can easily get the scatter p...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
is it normal for a matlab program to run more than a day?
i'm trying to make a color plot using a data that has (2500000) elements in it. i have to do some manipulations to sort the data...
8년 초과 전 | 답변 수: 0 | 0
0
답변질문
how can I combine two columns of an array A(m*2) in one column in the format: column1(column2)?
i have a cell array A(m*2). the first column of consist of R and P characters and second column is just numbers. now i want put ...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
how can i put the elements of a character matrix in to another matrix?
i have two arrays, A(57332*1) which is a character type array and consist of two Words:R and P. and B(57332*1) which is array of...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
making a color plot with 3 matrices
i have 2 matrices as E(43,30619) and C(43,30619) and an altitude array as alt(43,1), E and C is related to altitude i want to pl...
거의 9년 전 | 답변 수: 1 | 0