Ask for help to solve the question.
29 views (last 30 days)
Show older comments
write a script to input an integer number between 0 and 255, and output the number to the screen between the characters '< ' and ' > ' . This input and display operation should be repeated 10 times. After the 10th iteration the script should save all the input numbers to a text file in a human readable form.
I have no idea to do it.
1 Comment
chayma
on 7 Dec 2022
Hey
can anyone help me with this please
Create a function that has semi-axes 𝑎 and 𝑏, center coordinates 𝑥𝑚 and 𝑦𝑚, and start and end angles 𝛼 and 𝛽 as inputs. The 𝑥 and 𝑦 coordinates of the ellipse should be returned as a vector as the output values. 𝑥(t ) = 𝑦 (t ) = with 𝑎cos( 𝑡) 𝑥𝑚 𝑏sin ( 𝑡) 𝑦𝑚 𝛼 ≤ 𝑡 ≤ 𝛽
thank you
Answers (1)
Walter Roberson
on 28 Apr 2014
See "for" and "input". See also fprintf(), dlmwrite(), and save() with the -ascii option.
0 Comments
See Also
Categories
Find more on Title 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!