MATLAB User

Professional Interests: Programming, Control Design, DSP

Submitted

A Silent Christmas Eve

A little something for MATLAB users out there...

6 years ago | 7 downloads |

Solved

radius of a spherical planet

you just measured its surface area, that is the input.

6 years ago

Solved

Determine if input is odd

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

6 years ago

Solved

Which values occur exactly three times?

Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

6 years ago

Solved

Sort a list of complex numbers based on far they are from the origin.

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

6 years ago

Solved

Create times-tables

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

6 years ago

Solved

Column Removal

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

6 years ago

Solved

Swap the first and last columns

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

6 years ago

Solved

Select every other element of a vector

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

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

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

6 years ago

Question

Supported MATLAB Functions for HDL Coder

Hi all, I have been trying the list of supported MATLAB functions for HDL Code generation, but no luck so far. The closest th...

7 years ago | 2 answers | 0

Question

Data Acquisition with ADLINK DAQe-2006

Hi MATLAB Community, I am having difficulty acquiring data with the ADLINK card. This is my setup. %% Capture a Single...

7 years ago | 0 answers | 0

Question

DAQ Problem with DT9816-S - DTOL: System not configured

Hi MATLAB Community, I have been using the DT9816-S DAQ for a while. For the most part it works fine, but once in a while the...

7 years ago | 0 answers | 0

Answered

Measuring Solar Cell Block in Simscape?

Hi Kevin, Did you supply the irradiance (light intensity) value? If there's no light supplied, there will be no current. Y...

Measuring Solar Cell Block in Simscape?

Hi Kevin, Did you supply the irradiance (light intensity) value? If there's no light supplied, there will be no current. Y...

8 years ago | 0

| accepted

Question

MAT-file logging with ERT Code

Hi, I code-generated a test model (step function + transfer function + output port) using the ERT with MAT-file logging enabled...

8 years ago | 0 answers | 0

Question

xPC Target : problem with multiple NIC card

Hi, I have 3 NIC on my xPC. One is an onboard NIC which is not supported by xPC, so I've gotten myself two other NIC cards: ...

8 years ago | 4 answers | 0

Question

Where can I find information on CCS IDE versions that can be supported with Embedded Coder?

Hi, Which version of MATLAB supports IDE Link with Code Composer Studio 3.1? I currently have MATLAB 2011a and 2010b install...

8 years ago | 2 answers | 0

Question

Warning: Objects of graphics.plotmanager class exist - not clearing this class or any of its super-classes

Hi, I've been getting this error recently, and I've tracked it down to this line of code: annotation('textbox','String','te...

8 years ago | 0 answers | 0

Question

MATLAB Compiler Standalone Application hogs memory in Linux

Hi, I tried compiling a simple script into a standalone application in Linux. When I execute my application, it takes up ~100 M...

8 years ago | 1 answer | 1

Question

Function 'loadlibrary' is not supported for standalone code generation. Seeking alternative options.

Hi, I am using *loadlibrary()* to call some functions from a C++ .dll file so that I can develop my application in MATLAB. ...

8 years ago | 1 answer | 1

Answered

Mysterious face appears after applying filter

Thank you very much. This code is originally part of a function, which takes in a parameter 'image'. I was careless for not n...

Mysterious face appears after applying filter

Thank you very much. This code is originally part of a function, which takes in a parameter 'image'. I was careless for not n...

9 years ago | 0

Question

Mysterious face appears after applying filter

I am applying a median filter to a noisy image and them subplot them for comparison. It works fine, except that there's a dark b...

9 years ago | 2 answers | 2