Printing Certain Number from a Vector
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Faris Amzar Mohamad Azrai
le 4 Juin 2020
Commenté : Stephen23
le 4 Juin 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(....)
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!