Answered

Hello everyone, I have a problem in simulink

Hey, I have ran your script. The output is 0 and that's was shown in the scope. You defined the output "a" as always 0. Th...

Hello everyone, I have a problem in simulink

Hey, I have ran your script. The output is 0 and that's was shown in the scope. You defined the output "a" as always 0. Th...

3 years ago | 0

| accepted

Answered

Simulink model with inport-outport from .m file with sim()

Hey, Did you define the simulation outputs? https://www.mathworks.com/help/simulink/slref/sim.html#outputarg_simOut ...

Simulink model with inport-outport from .m file with sim()

Hey, Did you define the simulation outputs? https://www.mathworks.com/help/simulink/slref/sim.html#outputarg_simOut ...

3 years ago | 0

Answered

How to write an overline notation in ylabel

Are you familiar with the interpreter and text functions? https://www.mathworks.com/help/matlab/ref/text-properties.html L...

How to write an overline notation in ylabel

Are you familiar with the interpreter and text functions? https://www.mathworks.com/help/matlab/ref/text-properties.html L...

3 years ago | 0

| accepted

Answered

track position using a feedback

Hey, It's a bit hard without a code example. In general once you have managed to complete the velocity loop and control it as...

track position using a feedback

Hey, It's a bit hard without a code example. In general once you have managed to complete the velocity loop and control it as...

3 years ago | 0

Answered

Plotting Timetable in matlab

Controlling axes limits can be done in multiple ways. Simplest way for controlling y axis is the ylim command https://www.math...

Plotting Timetable in matlab

Controlling axes limits can be done in multiple ways. Simplest way for controlling y axis is the ylim command https://www.math...

3 years ago | 0

Solved

Reverse the Words (not letters) of a String

*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...

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

3 years ago

Solved

Determine if input is odd

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

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

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

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

3 years ago

Answered

why I get "complex number" for the common calculation?

Most probably (rt1./rft1) is negative and the log output of a negative number is imaginary...

why I get "complex number" for the common calculation?

Most probably (rt1./rft1) is negative and the log output of a negative number is imaginary...

3 years ago | 1

Answered

cant get my function to give two outputs

amm.. I am guessing you are running the function from the Command window? try calling the function instead of: multi(a,b)...

cant get my function to give two outputs

amm.. I am guessing you are running the function from the Command window? try calling the function instead of: multi(a,b)...

3 years ago | 3

Answered

How to plot Bode diagram from input and output data

Hey, I have attempted what you've suggested to get the Bode plot right. Something' doesn't seems right with my bode plot. An...

How to plot Bode diagram from input and output data

Hey, I have attempted what you've suggested to get the Bode plot right. Something' doesn't seems right with my bode plot. An...

3 years ago | 0

Question

Removing windows from Tab order GUI

Hey, I have got a GUI with quite a lot of figures/ buttons etc. So when the users presses the Tab key it switches between all t...

3 years ago | 0 answers | 0