Flip the vector from right to left.
x=[1:5], then y=[5 4 3 2 1]
x=[1 4 6], then y=[6 4 1];
Request not to use direct function.
Try out this problem
Try Out this cody questions...
How can we do for last test case.
Can any one help me out?
how to solve below test case
code = fileread('flip_vector.m');
Nice tricky problem
y=x(end:-1:1) I think this might help
You cannot pass the last test suite if you use the function fliplr
Make the vector [1 2 3 4 5 6 7 8 9 10]
The Hitchhiker's Guide to MATLAB
Roll the Dice!
How many trades represent all the profit?
Matrix with different incremental runs
Element by element multiplication of two vectors
Find Excess 3 code of given decimal number.
Find the next state of a JK Flip-Flop
Rotate Matrix @180 degree
Find the 9's Complement
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office