Resuelto


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

casi 14 años hace

Resuelto


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

casi 14 años hace

Resuelto


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

casi 14 años hace

Resuelto


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

casi 14 años hace

Resuelto


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

casi 14 años hace

Resuelto


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

casi 14 años hace

Resuelto


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

casi 14 años hace

Resuelto


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

casi 14 años hace

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

casi 14 años hace | 0

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

casi 14 años hace | 0

Respondida
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'.. ...

casi 14 años hace | 0

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

casi 14 años hace | 1

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

casi 14 años hace | 0

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

casi 14 años hace | 0

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

casi 14 años hace | 1

| aceptada

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

Pregunta


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

alrededor de 14 años hace | 0 respuestas | 0

0

respuestas