Vauxdvihl
Member level 5

Hello
i have found on web the following script to display arrays inb Matlab
%disp('test')
n=length(x);
%fprintf('The number of data points is %g \n',n)
%disp('_______________________________________')
%disp(' AA AB AC)
%disp('_______________________________________')
%for i=1:1:n
% fprintf(' | %g | %x | %x \n',x(i),y(i)',z(i)')
%end
%disp('_______________________________________')
x is an arrray with dec values
y and z are arrays with hex numbers
x is shown correctly in command window, but y and z are not shown as hex numbers in command window
Can somebody please help?
Thanks
BR
Vauxdvihl
i have found on web the following script to display arrays inb Matlab
%disp('test')
n=length(x);
%fprintf('The number of data points is %g \n',n)
%disp('_______________________________________')
%disp(' AA AB AC)
%disp('_______________________________________')
%for i=1:1:n
% fprintf(' | %g | %x | %x \n',x(i),y(i)',z(i)')
%end
%disp('_______________________________________')
x is an arrray with dec values
y and z are arrays with hex numbers
x is shown correctly in command window, but y and z are not shown as hex numbers in command window
Can somebody please help?
Thanks
BR
Vauxdvihl