Prev: change layout of a legend
Next: APSK Modulator Simulink
From: rajesh on 3 Dec 2009 07:01 I tried this typing in workspace: ans = allfiles{1} I got this: ans = PP_xx: [2x300001 double] Now how to plot this PP_xx data? I tried with Your: data{1}(:,1) column vector & Data_1=cat(1,Data{1}) also, but not able to plot. Please suggest me what to do? "Branko " <bogunovic(a)mbss.org> wrote in message <hf84no$stj$1(a)fred.mathworks.com>... > "rajesh" <rajesh.shaw(a)kpitcummins.com> wrote in message <hf8353$b2g$1(a)fred.mathworks.com>... > > Thanks Branko, > > I used Your function and is working fine...I need one more help. After loading the mat file in workspace, i found variable PP_xx which contains lot of data. > > Now how to use this variable to plot,say, from your this line: > > > > data{ii}=load(flist(ii).name) % load files in workspace > > > > Overall, the variable which get loaded in the workspace for this mat file, I want to plot that. how to do this? > > Just use cell operation or transfom it to array. So i.e. in your cell array data{1} will be data from your file PP_xx. Therfore just use function plot and call data{1}(1,:) row or data{1}(:,1) column vector. Alternatively use cat function Data_1=cat(1,Data{1}); > > Branko
|
Pages: 1 Prev: change layout of a legend Next: APSK Modulator Simulink |