Printing Certain Number from a Vector
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Faris Amzar Mohamad Azrai
am 4 Jun. 2020
Kommentiert: Stephen23
am 4 Jun. 2020
Hello, can anyone help me? I want to print the numbers which is not 0 from this vector using fprintf. So, basically, i want to print out the numbers 1 and 10 in one line and in a vector form in the statement.
vector = [0 0 0 1 10];
fprintf(....)
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!