What do these mean/do on matlab?
Show older comments
-depsc
[3:6:30]
What do these mean/do on matlab?
Answers (1)
madhan ravi
on 12 Dec 2018
Edited: madhan ravi
on 12 Dec 2018
>> 3:6:30 % starting number 3 step 6 till 30
ans =
3 9 15 21 27
>>
3 Comments
Image Analyst
on 12 Dec 2018
And the first line simply throws an error
>> -depsc
Undefined function or variable 'depsc'.
Steven Lord
on 12 Dec 2018
The print function accepts -depsc as an input argument to control the format of the file to which the figure is printed. See the documentation page for print for more information.
doc print
madhan ravi
on 13 Dec 2018
+1 Steven Lord precise !
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!