Solved


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

6 years ago

Solved


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

6 years ago

Solved


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

6 years ago

Solved


Write an expression
Assigns finalResult with firstSample plus secondSample, squared, then divided by 3. Ex: If firstSample is 18 and secondSample is...

6 years ago

Solved


inner product of two vectors
inner product of two vectors

6 years ago

Solved


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

6 years ago

Solved


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

6 years ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

6 years ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

6 years ago

Solved


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

6 years ago

Answered
Create a function in simulink
You can use the block "from workspace" from * * *sources*** in Simulink. For your case, you can use directly "reshape", "add", ...

6 years ago | 2

| accepted

Answered
LED lamp model using simulink
http://www.mathworks.com/help/simulink/ug/control-an-led-display.html https://www.mathworks.com/help/physmod/elec/ref/lightem...

6 years ago | 2

Answered
How to log signals at constant 10 hertz?
file>preferences

6 years ago | 1

Answered
How can i make a .fis model file to work with FLC toolbox and use it with Arduino for obstacle avoidance robot?
File>import>from workspace and choose the file a.fis direction. There are arduino toolbox in Simulink, however, you should veri...

6 years ago | 1

Answered
how can i solve this error? see in picture
You should verify system and fuzzy logic controller parameters. The picture is not very clear. Please could you provide a clear ...

6 years ago | 1

Answered
I have problem while running my Micro hybrid DC simulation model & it takes more time(10-11 hr) for running.
I have the same problem while running my system (robot including BDCM motor+fuzzy logic controller )simulation model and it take...

6 years ago | 1

Solved


Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

6 years ago

Solved


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

6 years ago

Solved


Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

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

6 years ago