Answered Getting multiple outputs from a function?
Hi Isa,
You can use switch statements to control your order and for each order you can have for loops to calculate for each sfn...
8 maanden ago | 0
Solved
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Times 2 - START HERE
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Examples:...
meer dan een jaar ago
Answered how can I turn my .m file into C?
Hi!
Matlab coder only converts function files to .c
I suggest you to remove all your input functions like scanf() and build y...
meer dan een jaar ago | 0
| accepted
Question
Floating point to Fixed point
Hey guys,
I have an user-defined MATLAB code (floating point) block in my simulink model. The MATLAB code contains loops, a fun...
meer dan een jaar ago | 0 answers | 0
0
answers
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.