| Thread Closed |
MatLab display question |
Share Thread | Thread Tools |
| Sep12-04, 08:33 PM | #1 |
|
|
MatLab display question
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 |
| Sep12-04, 09:06 PM | #2 |
|
|
I'm confused what you're asking for...
what do you want the output to look like? |
| Sep12-04, 09:10 PM | #3 |
|
|
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 |
| Sep13-04, 01:21 AM | #4 |
|
|
MatLab display question
Try this:
Code:
for a=1
disp('a')
disp(' ')
disp(' ')
disp('b')
end
Code:
a b |
| Sep13-04, 06:22 AM | #5 |
|
|
AH! Score. Thanks man, it's workin now!
|
| Thread Closed |
| Thread Tools | |
Similar Threads for: MatLab display question
|
||||
| Thread | Forum | Replies | ||
| MATLAB question | Math & Science Software | 3 | ||
| 7-segment 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 | ||