Register to reply 
MatLab display question 
Share this thread: 
#1
Sep1204, 08:33 PM

P: 142

I gott add spaces into this output, how in sweet gods name do i do this? Here is my code:
disp( '' ) disp( 'Solution to workshop 5, exercise 3 ') disp( 'Calculate the volume of a piece of iron by determining the amount of') disp( 'water displaced as it is submerged.') Thanks 


#2
Sep1204, 09:06 PM

Emeritus
Sci Advisor
PF Gold
P: 1,817

I'm confused what you're asking for...
what do you want the output to look like? 


#3
Sep1204, 09:10 PM

P: 142

Well when it's displayed.. it looks like this:
Solution to workshop 5, exercise 3 Calculate the volume of a piece of iron by determining the amount of water displaced as it is submerged. I want it to look like this: Solution to workshop 5, exercise 3 Calculate the volume of a piece of iron by determining the amount of water displaced as it is submerged. with space(s) inbetween the lines. I can't figure out how to do this 


#4
Sep1304, 01:21 AM

Emeritus
Sci Advisor
PF Gold
P: 1,817

MatLab display question
Try this:



#5
Sep1304, 06:22 AM

P: 142

AH! Score. Thanks man, it's workin now!



Register to reply 
Related Discussions  
MATLAB question  Math & Science Software  3  
7segment display question  Electrical Engineering  2  
Camera and Display RGB question  General Engineering  1  
Develop a program to display a number, on a single 7 segment LED display  Computing & Technology  6  
Display a number, on a single 7 segment LED display  Introductory Physics Homework  0 