No video

MATLAB Tutorial Lesson

  Рет қаралды 94,595

Matthew Rhudy

Matthew Rhudy

Күн бұрын

Description

Пікірлер: 42
@EngineeringwithDrKelseyJoy
@EngineeringwithDrKelseyJoy 2 жыл бұрын
I like the demonstration of using the help function to see the documentation (comments in your function). Very clear examples.
@allendeguzman6771
@allendeguzman6771 5 жыл бұрын
I found this ,, extremely helpful for a computer science class
@PCgamerChannel
@PCgamerChannel 3 жыл бұрын
u sure it didnt help you with pe class?
@falcontalkies3890
@falcontalkies3890 6 жыл бұрын
This video was helpful and saved me.
@sujiang974
@sujiang974 6 жыл бұрын
this video is so helpful, i'm lucky to meet this solution, thank you!
@princesstahir6765
@princesstahir6765 5 жыл бұрын
thanks a lot Mr. Matthew
@sukantakumarmuduli7449
@sukantakumarmuduli7449 5 жыл бұрын
Thanks Matthew it's really helpfull
@dauof3623
@dauof3623 2 жыл бұрын
Nice mic
@hayderal-lami4335
@hayderal-lami4335 8 жыл бұрын
thank you so much for this clarification it's so helpfull
@tjdgh1785
@tjdgh1785 4 жыл бұрын
감사합니다! thank you!
@kirillchernishov2224
@kirillchernishov2224 5 жыл бұрын
Hey, this was helpful insight but I couldn't solve my issue... I have a Simulink model that represents an HVAC System. I need to input a range of Outdoor temperatures into my simulink model. A specific range with an increment. Then it goes to and if-then-else split system. Is there an option for this within either Simulink or a Matlab function? Thanks.
@vannatorn5801
@vannatorn5801 2 жыл бұрын
Dear sir, thank you for your valuable video, could you please help me???
@ravirajpareek9909
@ravirajpareek9909 3 жыл бұрын
how to pass a function as an argument of another function in MATLAB?
@mdiqbal7168
@mdiqbal7168 3 жыл бұрын
How to store multiple input from one edit text box in matlab gui in text file then all input of single edit text box show in axes in gui of matlab
@zaibi558
@zaibi558 7 жыл бұрын
u r best 10/10
@user-fi3wv5yn9l
@user-fi3wv5yn9l 5 жыл бұрын
Hi Prof Could you explain to us how to do Such these questions Write a MATLAB code that can convert a vector in any coordinate system to the other two coordinate systems. The code must ask the use to select in which coordinate system is the entered data It says vector not point so the user will enter variables and waiting variable vectors outcome Can be this done by matlab
@Freddie1M
@Freddie1M 7 жыл бұрын
in the last bit with the baseball question, I want to do the same thing, but I want to input a range of values for the height and then display a range of corresponding outputs for the velocity (as velocity is dependent on height). My assignment says "you are not allowed to use any loop in your function or your program (you may have to use the element wise multiplication/division)". Help would be appreciated.
@matthewrhudy2324
@matthewrhudy2324 7 жыл бұрын
Sounds like your assignment is referring to a vector calculation. The note about "element wise" means you may need to include periods in your operations, such as ".*" or "./". This is not really the topic of this video. Look for help with vector calculations
@dennydeff4972
@dennydeff4972 3 жыл бұрын
hello sir. how to solve the following problem : "Parse error: The input was too complicated or too big for MATLAB to parse" i want to create a function with 1 input and 54 output. thanks
@matthewrhudy2324
@matthewrhudy2324 3 жыл бұрын
54 outputs is a lot. I would suggest combining these outputs into vectors/matrices/structures so that you can reduce this number.
@BestEzEu
@BestEzEu 4 жыл бұрын
Very helpful! :) Any idea how to get a matrix as output with more than 1 row? :)
@matthewrhudy2324
@matthewrhudy2324 4 жыл бұрын
You can define a variable as an output that can be a matrix. If you define that variable within your function as a matrix, it will give the matrix as an output and can contain multiple rows.
@BestEzEu
@BestEzEu 4 жыл бұрын
@@matthewrhudy2324 Thank you! It's been solved now :)
@NurulHidayah-qu1ne
@NurulHidayah-qu1ne 7 жыл бұрын
how to write array input?
@rever4217
@rever4217 8 жыл бұрын
You uploaded this almost a year after you recorded it??
@matthewrhudy2324
@matthewrhudy2324 7 жыл бұрын
I decided to make these videos available to the public at that time. Previously, these had been internal videos for a course
@rever4217
@rever4217 7 жыл бұрын
Matthew Rhudy Ah I see.
@JanviHiren1684
@JanviHiren1684 8 жыл бұрын
what if I want to get only 2nd output and not any other output. How do I do that?
@matthewrhudy2324
@matthewrhudy2324 8 жыл бұрын
You can either define a variable for the 1st output and just not use it, or you can use the tilde symbol (~) in place of any outputs that you don't want.
@AwestruckChemicals
@AwestruckChemicals 7 жыл бұрын
How can I put two IF statements into one function block? I need: if T1-T2>8, Output=5 if T1-T2
@matthewrhudy2324
@matthewrhudy2324 7 жыл бұрын
Try using ELSEIF
@AwestruckChemicals
@AwestruckChemicals 7 жыл бұрын
Thanks for the quick reply. Yes I have tried elseif also but to no avail. The error says "output argument 'Output' is not assigned on some execution paths." It is a pump for a solar water heater and the output is the pump's flow rate (an on/off pump) The code is: function Output = pump(T1,T2) if T1-T2>8, Output=5 elseif T1-T2
@matthewrhudy2324
@matthewrhudy2324 7 жыл бұрын
In order to include this in a function, the variable "Output" must always take a value. If you do not include an "ELSE" section containing Output = something the function will give an error, e.g., if given an input of T1-T2 = 6
@AwestruckChemicals
@AwestruckChemicals 7 жыл бұрын
Thank you for you help Sir. I actually discovered a very simple solution this; I used a relay block and set the ranges to my corresponding output values. I appreciate the help anyway, have a good day. :)
@hadjerha1782
@hadjerha1782 5 жыл бұрын
i need the simulation of diagonal algebraic space time block code pleaaaaase
@johnr1875
@johnr1875 5 жыл бұрын
this was dope
@frankbrown7043
@frankbrown7043 2 жыл бұрын
Most American Egineers use the foot second and pound system. So the acceleration becomes ft / sec**2 and is 32.174.
@johnr1875
@johnr1875 2 жыл бұрын
@@frankbrown7043 you're not wrong
@KayesImran
@KayesImran 7 жыл бұрын
How can I generate two different functions in the same file.
@matthewrhudy2324
@matthewrhudy2324 7 жыл бұрын
That depends on what you want to do with the functions. You can define "anonymous" functions within a script for shorter/simpler functions (as many as you want). You can also define subfunctions within a function file, but these subfunctions can only be called my the main function. If you want two separate function to use within other scripts, unfortunately as far as I know you need two separate function files.
@MirajulIslam-el4ge
@MirajulIslam-el4ge 8 жыл бұрын
the sign will be +,,not - ,,v^2 = v0^2 + 2gh
@matthewrhudy2324
@matthewrhudy2324 8 жыл бұрын
It just depends on your sign convention as well as your definition of "g". If the positive direction is defined as up, and the value of g is 9.81 m/s^2, then you would need the minus. Alternatively, you can define g as -9.81 m/s^2.
MATLAB Tutorial Lesson #04c:   Basics of For Loops
6:52
Matthew Rhudy
Рет қаралды 2,6 М.
MATLAB Tutorial Lesson #02:   MATLAB Vectors and Plotting
33:07
Matthew Rhudy
Рет қаралды 38 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 85 МЛН
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 36 МЛН
When you discover a family secret
00:59
im_siowei
Рет қаралды 20 МЛН
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН
Simulink Level 2 S Functions Part 2
15:18
Matthew Rhudy
Рет қаралды 25 М.
Creating User-Defined Functions in MATLAB: Syntax and Examples
17:00
Spartan Professor
Рет қаралды 31 М.
MATLAB: Inputs and Outputs (fprintf)  for Beginners
7:11
Engineering with Dr. Kelsey Joy
Рет қаралды 3,5 М.
Intro to MATLAB - Week 5 - Calling (using) user-define functions
20:22
Lesson 3.2: Function Input/Output
22:16
Fitzle LLC
Рет қаралды 115 М.
DSPy Explained!
54:16
Connor Shorten
Рет қаралды 58 М.
MATLAB Tutorial | Logical Operators: AND, OR, NOT with Examples
12:50
Spartan Professor
Рет қаралды 3,3 М.
Input and output commands in MATLAB
8:19
RobertTalbertPhD
Рет қаралды 162 М.
MATLAB Functions with Multiple Inputs and Outputs
10:49
EE Prof Lady
Рет қаралды 13 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 85 МЛН