MATLAB Tutorial Lesson #04b: Multiple Input Output User Defined Functions

preview_player
Показать описание
Description
Рекомендации по теме
Комментарии
Автор

I like the demonstration of using the help function to see the documentation (comments in your function). Very clear examples.

EngineeringwithDrKelseyJoy
Автор

I found this, ,

extremely helpful for a computer science class

allendeguzman
Автор

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.

kirillchernishov
Автор

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.

FreddieM
Автор

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

أحمدالفزاري-غن
Автор

this video is so helpful, i'm lucky to meet this solution, thank you!

sujiang
Автор

Thanks Matthew it's really helpfull

sukantakumarmuduli
Автор

what if I want to get only 2nd output and not any other output. How do I do that?

JanviHiren
Автор

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

mdiqbal
Автор

how to pass a function as an argument of another function in MATLAB?

ravirajpareek
Автор

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

dennydeff
Автор

Very helpful! :)
Any idea how to get a matrix as output with more than 1 row? :)

BestEzEu
Автор

You uploaded this almost a year after you recorded it??

rever
Автор

How can I put two IF statements into one function block?

I need:
if T1-T2>8, Output=5
if T1-T2<4, Output=0

I cant use a simple 'if else' because it wont give me both conditions, only one.
Please help.

Edit, I'm using a matlab function block in Simulink

AwestruckChemicals
Автор

How can I generate two different functions in the same file.

KayesImran
Автор

thank you so much for this clarification it's so helpfull

hayderal-lami
Автор

i need the simulation of diagonal algebraic space time block code

hadjerha
Автор

Dear sir,
thank you for your valuable video, could you please help me???

vannatorn
Автор

the sign will be +, , not -, ,v^2 = v0^2 + 2gh

MirajulIslam-elge