Community Profile

Professional Interests: robotics, controls, system identification, optimization

Contact

Top 5% contributor

Phasor simulation is meant to provide analysis of electro-mechanical oscillations of power systems at just one frequency. The do...

accepted

1

Answered 8 months ago

The sys2 created is not the minimal realization of the system, and if you perform minimal realization you will get back the same...

0

The Image Acquisition Toolbox does not support Microsoft Kinect V2 as of release R2014b. You will have to continue working with ...

Yes the documentation is correct, in specifying that the dimension of the input can be dynamically sized. I quickly played with ...

Based on the example model you had, I have modified the model to incorporate a 'Data Store Read' block, to read the Matrix (whic...

This functionality is not available in latest release of MATLAB R2014b. There are couple of workarounds I can think of: * You...

Answered 9 months ago

In order to specify the DataTypes, try using ''double'' instead of 'double'. Thanks, Sandip, MathWorks

You can always look at the source code of the MATLAB functions which are shipped, for e.g., all the functions on the following l...

Sorry, I mis-read the documentation, you are right, as of MATLAB R2014b EV3 is not supported for bluetooth on Simulink yet and o...

As per the documentation, need to write a 'slblocks.m' and have the library model together. http://www.mathworks.com/help/sim...

There is a really detailed documentation to do so: http://www.mathworks.com/help/simulink/ug/configuration-set-api.html? T...

As of Embedded Coder R2014b, F28069M is not supported and there is no update to be downloaded to have this hardware show up in t...

Based on the error message, it looks like the second signal is 12x1, but the first signal is not as expected, i.e., 4x12. Maybe ...

Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

Solve this!

3 years ago

Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

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

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

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

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

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

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

When using the Simulink Support Package for Arduino: http://www.mathworks.com/hardware-support/arduino-simulink.html Using t...

Load more