Community Profile

Contact

Hi :P

Top 5% contributor

The example found in /extern/examples/eng_mat/matdgns.c also generate errors, as I fail to link the static library Using ...

0

Answered 3 years ago

bump?

Answered 4 years ago

My main goal is to implement the differential equations of a physical system using a single Matlab Function. As the sums and gai...

Can anybody suggest a better way of implementing the numerical integration ? The code has to be written inside the Matlab Functi...

Hi. I need to implement the following behavior : <<http://i.imgur.com/a6SsM.png>> The Integrator and my_Integrator bloc...

5 Answers

1

Asked 4 years ago

Thanks for your great response I had to adapt the diagram for the denominator [1 K 0], as you use [1 K 1] in your example. ...

Your answer does solve the initial problem. Now how about modifying the parameters of the denominator?

Thanks for your answer; I was able to get the data from the filter's output data=get_param('main/level/level_filter','Runtime...

Hi I need to design a transfer function in the following form: 1 / (s^2 + K*s) where K is scalar and varies sinusoidal; the d...

2 Answers

Hi I need to design a transfer function in the following form: K/ (Ts + 1) where the numerator K is scalar and varies sinuso...

Hi. I defined some Simulink parameters to the Model Workspace of a Simulink model. When used in a Constant block, the code com...

I want to read the values that passes through a wire in my Simulink model. This value should be displayed in a text field on ...

Hi I want to find a PID Controller for the following process: Hp(s) = 1 / (s^2 + 1) or Hp = tf (1, [1 0 1] ); Pe...

1 Answers

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

Solve this!

2 years ago

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

4 years ago

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

Regardless of input, output the string 'yes'.

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

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

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

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

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

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

Hi, I'd like to implement the following behaviour in my gui app: - start iterating through a for loop and compute an array ...

Asked 1 year ago

Hi :) How would you recommend me to read the contents of a 5.0 mat-file in c++? I've found a mat.h file in matlabroot/exte...

Asked 3 years ago

Hi Given the following transfer matrix : T = From input 1 to output: s - 1 ------------- s^2 + 3 s + ...

Hello, While working on an assignment, I noticed some differences between continuous and discrete tf and I cannot figure out ...

0 Answers

Asked 2 years ago

Hi I installed the Symbolic Math Toolbox over an existing Matlab 2012a installation and I noticed there is no auto-completion...

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries