Feldoh: thank you for your comment..
MATLABdude : thank you for your help but i still don't know how to solve this problem because I am just a beginner in MATLAB
I tried again and this is my attempt :
x=input('x= ')
n=input('input n less than x ')
m=length(x)
n=[x(1,n+1:m),x(1,1:n)]
for...
Homework Statement
you are given a vector y construct a MATLAB script program to shift all element of y left by ( n ) position..
I mean if y=[1 5 6 9 3]
and n=2
by apply this program on y we have :
y=[3 1 5 6 9]
The Attempt at a Solution
this is my Attempt to solve this...