Community Profile

# Andrew Stark

Last seen: 1년 초과 전 2020년부터 활동

배지 보기

#### Content Feed

보기 기준

질문

How do I smooth a curve on a surf plot?
I have been trying to "smooth" out this curve in MATLAB but have been unable to. The goal is to have a smoother curve depicted...

1년 초과 전 | 답변 수: 2 | 0

### 2

답변

질문

How would I create a curve fit line and smooth the data on a surf plot
Hey yall, I am trying to smooth this data on a surf plot so this forms more of a curve while also putting a curve line line ov...

1년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

Unable to filter data with a for loop and replace command
AA=Df{1,1}; AA(AA<1|AA>1.25)=0; BB=Zf{1,1}; for ii=1:length(AA); if AA(ii)==0 BB(ii)=0; end end A...

대략 3년 전 | 답변 수: 1 | 0

### 1

답변

질문

Filtering data in matrices
AA=Df{1,1}; AAA=AA; for i=1:length(AA) if AA(i) <1 || AA(i)>2 AAA(i)=[]; end end I am trying to filter data t...

대략 3년 전 | 답변 수: 1 | 0

### 1

답변

질문

How do you add up data in a for loop to plot in a histogram?
n=100; [Zf_S, Zf_L] = cellfun(@(B) bounds(B, 'all'), Zf); Zf_max = max(Zf_L); Zf_min = min(Zf_S); Zf_vals = linspace(Zf_min,...

대략 3년 전 | 답변 수: 1 | 0

### 1

답변

질문

How to change axis size without affecting bin size
n=100; for i=1:3000 ZZ=Zf{i}; DD=Df{i}; Zf2=linspace(min(ZZ(:)),max(ZZ(:)),n); Df2=linspace(min(DD(:)),max(DD(:)),n); Zfr=...

대략 3년 전 | 답변 수: 1 | 0

### 1

답변

질문

How do I keep the number of bins used the same when generating a histogram along with how do I illustrate its depth with color?
%Plotting Histogram for i=1:3000 Zf2=Zf{i,1}; Df2=Df{i,1}; H=[Df2,Zf2]; hist3(H,[10 10]) hold on end I am trying to gene...

대략 3년 전 | 답변 수: 1 | 0

### 1

답변

질문

Error Using Accumarray "Requested array exceeds the maximum possible variable size"
I am trying to generate a histogram but I keep on getting this error Error using accumarray Requested array exceeds the max...

대략 3년 전 | 답변 수: 1 | 0

### 1

답변

질문

Plot is generating a series of vectors instead of a continuous line plot
for i=1:1000 plot(Df{i,:},Zf{i,:}) hold on end Both Zf and Df look like this but continue to 1000; however, the v...

대략 3년 전 | 답변 수: 1 | 0

### 1

답변

질문

How can I fix "Index in position 2 exceeds array bounds" in for loop/ if statements?
W=cell(p,1); for j=1:(p-1); w=A(index(j):index(j+1)-2); W{j}=w; end W2=cell(p,1); for j=1:(p-1); w2=A(index(j...

대략 3년 전 | 답변 수: 1 | 0

답변