Hi! I have a function and I want to display the max of two scores. For example, if A=5 and B=9 and C is the max, I want C to reply that B is the greater value. How do I do this? Thanks in advance.
MATLAB: Display max (character)
characterinputnamemaxvariable name
Related Question
- Matlab GUI edit text ‘pi’ and mathematical operations
- Combining functions and commands in to one script
- Assign values to a new variable via a function
- How many variables in workspace
- MatLab command that will return a matrix that contains the product of every element in two vectors of any length
- How can add a name of table by concatenating strings
- Do I get an error when I use a Mask variable as the name of a Data Store Memory variable inside a masked subsystem in Simulink 7.9 (R2012a)
- How to output optional variables in a function
Best Answer