Get a Vector from the user | MATLAB

Опубликовано: 15 Октябрь 2024
на канале: Laplace Academy
1,480
20

Welcome to Laplace Academy

📕 In this #short MATLAB tutorial you're going learn how to ask the user o input a vector MATLAB.
To receive a number or string from the user we use input function.

📗 By default, the input() function only accepts numerical inputs. And, if you add 's' to the end of the function, it would accept a string.
In order to convert a string to a vector in MATLAB, use str2num() function.

Don't forget that. 😎


🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻
This video is part of a complete beginner's guide to MATLAB. In a comprehensive series of tutorials, you are going to learn basically everything you need to start programming with MATLAB.

So:

If you want to learn MATLAB:
https://bit.ly/3q1he3v

Here's the full MATLAB for beginners playlist:
   • Beginner's Guide to MATLAB  

You can also follow us on
💢 Instagram:
  / laplaceacademy  

💢 Facebook:
  / laplaceacademy  

💢 LinkedIn:
  / laplaceacademy  

💢 Twitter:
  / laplace_academy  



Laplace Academy
MATLAB
matlab tutorial
matlab lecture programming
matlab course
matlab tutorial
complete matlab tutorial go from beginner to pro
learn matlab
matlab basics
matlab basics tutorial
matlab for beginners
complete matlab course
complete matlab tutorial go from beginner to pro
matlab Simulink
Simulink
simulink matlab
simulink software
matlab coding tutorial
matlab tutorial for engineers
matlab simulink tutorials

#laplaceacademy #matlab tutorial for beginners #shorts