LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write real-world data into matrix rows or array rows for each run and then process data in each column of matrix or array

Hello everyone! 

 

I want to construct a matrix of [13x5001] as a result of 13 run for different radial positions (in each run 5000 data are taken) in the same vi. The data in the first column are constants of radial positions. 5000 data related to each radial positions will be written in the corrseponding row of matrix or array.

 

The array or matrix will be like that given in sample vi block diagram.

 

After obtaining the matrix, I want to draw the curve for the data in the second, third and so on 5000th column with respect to radial positions in the first column.

 

 

And then fit an equation to each curve as u(r) and then multiply the each one of 5000 equations again by r variable and then integrate it; int[u(r)*r*dr] So for each column, one mean value will be found and;

 

The matrix will reduced to [1x5000] eliminating also the first column values of radial positions.

 

Then the 5000 mean data in [1x5000] matrix will be fitted to the sinusoidal equation of

u_mean(t)= u_ta *u_os*cos(2*pi*freq.*t)

 

where u_ta and u_os are constants that will be found as a result of this fitting.

 

I have tried to do all these for about one month, but I failed.

 

I also write the procedure in the attached vi as notes.

 

Is there anyone who can help me? Could you please help me? Thanks a lot.

0 Kudos
Message 1 of 2
(2,290 Views)

duplicate post, continue here!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,281 Views)