Question

Storing data in nested for loop

Dear all, I have a cell let say : cell_data= cell([400, 4)]) when I loop to perform some calculations: I go the the er...

circa 2 anni ago | 1 answer | 0

Question

sum along data with different steps

Dear all; I have three data sets: This is just an example... data1=[1 5 3 4 2 0 1 2 8 2 10 2 1]; % data2=[...

circa 2 anni ago | 1 answer | 0

Question

Remove zeros from cell

Dear all, I have the following problem: mydata{n}(m,l) let say n=1:1:3; m=1:1:4 and l=1:1:100 I have many ze...

circa 2 anni ago | 2 answers | 0

Question

Find x for known y from fit

Hi all I would like to find values of x when y values are known using fzero. Assuming I have the following data: x = [...

circa 2 anni ago | 1 answer | 0

Question

Determine unknown integral limits

Dear all, I calculated the integral from x(1) to x(end) of a given function as fellow: syms a1 a2 Int1=quad(@ppval,x(1)...

oltre 5 anni ago | 0 answers | 0

Question

keep repeated x values and average y values

Dear all I have the following data: x=[4.1 2.7 3.2 2.5 4.1 2.5 0 5 6.1 2.5]; y=[10 16 ...

oltre 5 anni ago | 1 answer | 0

Question

Binning x and y

Hi all, Assuming that I have the follwing data: x=[0, 2, 2.4, 2.8, 3.4, 3.9, 4, 4,7, 5.3, 5.8, 6, 6.4......]; % un...

oltre 5 anni ago | 1 answer | 0

Question

about trapz and quad integral

Hi all; I have the folowing data: x_1=data(:,1); y_1=data(:,2); xx=linspace(x(1),x(end),10000); pp=spline(x,y); ...

oltre 5 anni ago | 1 answer | 0

Question

How to use variable of function in the main program

Hi all, I have a main program Main.m. In the main I call a function [a,b,c]=func(data), I would like now to use the output a...

oltre 5 anni ago | 1 answer | 0

Answered

Find limits of known integral

Hi John, I think the problem will remain the same beacuse in your previous posting you were dealing with know function. You c...

Find limits of known integral

Hi John, I think the problem will remain the same beacuse in your previous posting you were dealing with know function. You c...

oltre 5 anni ago | 0

Answered

Find limits of known integral

Dear John, Thank you very much for your help. I greatly appreciate it! My PSF is not pur Gaussian and therefore I interpolate...

Find limits of known integral

Dear John, Thank you very much for your help. I greatly appreciate it! My PSF is not pur Gaussian and therefore I interpolate...

oltre 5 anni ago | 0

Question

Find limits of known integral

Dear all, I would like to find the limits ( -a and +a) of a known integral.That means the integral is known (e.g. I=45) but t...

oltre 5 anni ago | 3 answers | 0

Question

Line Spread Function and MTF calculation

Dear all, I have line spread function (LSF) containing x and y data. x=LSF(:,1) y=LSF(:,2) From this LSF I would like to c...

oltre 5 anni ago | 1 answer | 0