MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
i have a 352800x1 vector . now i want to take only 300000 row elements .how can i cut last 352800-300000=52800 elements and make it a 300000x1 vector ??
x = rand(352800,1);
x(300001:end) = ;
Direct link to this comment:
it can also be done by using
thx anyway :)
Direct link to this answer: