Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

14 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

14 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

14 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

14 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

14 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

14 years ago

Solved


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:...

14 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

14 years ago

Answered
Plz xpln why nt sing vwls
You still use 'i'..

14 years ago | 0

Answered
Simulink - swapping inputs horizontally
I don't understand the reason why you don't want to re-arrange the inputs. However, there *is* a way to emulate what you call...

14 years ago | 0

Answered
Simulink - swapping inputs horizontally
You could 're-number' the input by clicking Input block inside your submodel.. Arrange it as you will to avoid 'cross-line'.. ...

14 years ago | 0

Answered
Is there any solution to my problem ?please help me.
On Simulink, AFAIK, the workspace data only available after the simulation ends. It means the first and second note are correct....

14 years ago | 1

Answered
Data passing between multiple different GUIs on GUIDE
<http://www.mathworks.cn/matlabcentral/fileexchange/24861-41-complete-gui-examples>

14 years ago | 0

Answered
simulink model
Hi, You can use the Fcn block under |Simulink then user-defined functions| on the Simulink Library Browser HTH, Ilham...

14 years ago | 0

Answered
Adding Libraries to the Library Browser
I think you need to put some parameter _or_ documentation in the respective tabs on the model masks

14 years ago | 1

| accepted

Answered
Simulink scope autoscale
By clicking the binocular button on the scope, perhaps?

14 years ago | 0

Answered
3D surf
If you use command surf(x,y,z) to produce the 3d surface, you can save the x,y,z parameter to seperate .mat file and call t...

14 years ago | 0

Answered
Run Two Scripts over Single Chart
For calling a function (which reside on current path) you just need to use the filename, without file extension. Try alter yo...

14 years ago | 0

Answered
Run Two Scripts over Single Chart
Have you compile and debug the 222.m? It seems the problem lies on the shadowing parameter. Based on the error message you need ...

14 years ago | 0

Question


What kind of look-up table should i use??
Dear all, I want to integrate fuel consumption of an engine into my simulink model. I have only a SFOC graph of particular engi...

14 years ago | 0 answers | 0

0

answers