Printing Certain Number from a Vector
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Faris Amzar Mohamad Azrai
il 4 Giu 2020
Commentato: Stephen23
il 4 Giu 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(....)
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Entering Commands in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!