10-14-2012 01:25 AM
Hi,
I am trying to get some plots (Figures) from MATLAB running into LabView.
One of the Plots should be kind of spectogram or "Waterfall diagram" View as attached (attached is a doppler example)
The Matlab code is this:
%calculate time
time = linspace(1,Tp*size(v,1),size(v,1));
%(sec)
%plot
imagesc(velocity,time,v-mmax,[-35, 0]);
colorbar;
xlim([0 40]);
%limit velocity axis
xlabel(
'Velocity (m/sec)');
ylabel(
'time (sec)');
How do I perform this with which subVi in Labview?
Thanks for any hints,
10-15-2012 03:40 AM
First try is the intensity graph. See examples: Color Tables for Displaying the Spectrogram.vi or Online Spectrogram Monitoring (Simulated).vi
Then have a look at the sound and vibration toolbox
10-15-2012 09:22 AM
You might also try the mscript text execution computation node.