how to fprintf and disp on the same line
Show older comments
i want this code to display 3 things on the same line but instead, i get this:
The number of capacitance should be 2
, i.e., 1/2 numbers of inductors
fprintf('The number of capacitance should be'); disp((length(inductance))/2); fprintf(', i.e., 1/2 numbers of inductors\n');
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Mobile Fundamentals 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!