Community Profile

photo

Hussain Hayat


MathWorks MOOC Program

Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How do I take keyboard input without stopping execution?
How do I take keyboard input without stopping MATLAB form executing code that follows?

8 years ago | 1 answer | 0

1

answer

Question


Why isnt this giving the desired output.
The code is supposed to generate cars at different places. However its just generating one which is one the top left corner. Whe...

8 years ago | 1 answer | 0

1

answer

Question


How can I include visuals in this simulation?
So the attached files include code for a traffic simulation. How can I make this visual? I want something like a traffic signal ...

8 years ago | 1 answer | 0

1

answer

Question


Can someone help me understand bubble sort.
<</matlabcentral/answers/uploaded_files/35059/Bubble%20sort.png>> I cant understand bubble sort(the code is given above). H...

8 years ago | 1 answer | 0

1

answer

Question


Using MATLAB P-code files
How do I use MATLAB p-code files. I cannot open them neither do they run using command line. Im doing an online MATLAB course at...

8 years ago | 1 answer | 0

1

answer

Question


Fprintf question and application.
fprintf( '%7sVIII\n', 'Henry' ) fprintf( '%1sVIII\n', 'Henry' ) I can't understand the difference between the two. They ha...

9 years ago | 1 answer | 0

1

answer

Question


Need help in understanding fprintf command and its application
fprintf( ’%8sVIII\n’, ’Henry’ ) fprintf( ’%-8sVIII\n’, ’Henry’ ) fprintf( ’%.3sVIII\n’, ’Henry’ ) Can someone help me...

9 years ago | 1 answer | 0

1

answer