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
-
Who knows the last digit of pi?
646 Solvers
-
Flip the main diagonal of a matrix
780 Solvers
-
Get the length of a given vector
10217 Solvers
-
427 Solvers
-
Test Problem; Create a 5x5 array containing all ones
378 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!