Problem 2849. Matlab Basics - Assigning Variables
Assign different types of data to variables: integer, double, and strings
Example: A is a double, for example 2.34
B is an integer, for example 17
C is a string, for example "hello"
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers192
Suggested Problems
-
Magic is simple (for beginners)
8264 Solvers
-
296 Solvers
-
Add a row of zeros on top of a matrix
244 Solvers
-
310 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
146 Solvers
More from this Author28
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!