Professional Interests: Control engineering, signal processing
Top 10% contributor
Hi, you might find interesting looking to: http://www.mathworks.com/matlabcentral/newsreader/view_thread/107376
5 years ago
Hi, try to check out these libraries: http://www.fauskes.net/nb/parsing-simulink/ or http://conqat.cs.tum.edu/index.php/Simulin...
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN.
4 years ago
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Regardless of input, output the string 'yes'.
Given two lists of numbers, determine the weighted average.
[1 2 3] and [10 15 20]
should result in
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.
Check if sorted.
Input x = [1 2 0]
Output y is 0
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Use a Embedded MATLAB Function, you can find it in the Used-Defined Functions of the Simulink Library. Than code it as a normal ...
4 years ago
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select United States from the following list:
See all countries