photo

Andrew Stark


Last seen: oltre 2 anni fa Attivo dal 2020

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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...

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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,...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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=...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 4 anni fa | 1 risposta | 0

1

risposta