Community Profile

# Yu Ang Tan

### Techsource Systems Sdn Bhd

33 total contributions since 2011

MATLAB User
Professional Interests: Programming, Control Design, DSP

#### Yu Ang Tan's Badges

Contributions in
View by

Submitted

A Silent Christmas Eve
A little something for MATLAB users out there...

3 years ago | 4 downloads |

Solved

radius of a spherical planet
you just measured its surface area, that is the input.

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

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

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

3 years ago

Solved

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

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

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

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

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

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

Responded

Re: S-Function Builder Port Reusibility, SimStruct
To save my future self and others from headache, I'm compelled to post this here. By default, using S-function builder creates ...

3 years ago | 1752 views

Responded

Re: Simulation time in S-functions
To save my future self and others from headache, I'm compelled to post this here. By default, using S-function builder creates ...

3 years ago | 2891 views

Submitted

Spins your plot in the z-axis!

4 years ago | 1 downloads |

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

4 years ago | 2 Answers | 0

### 2

Question

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

4 years ago | 0 Answers | 0

### 0

Posted

Hi MATLAB Community, I am having difficulty acquiring data with the ADLink card. This is my setup. The getsample(ai_device) wo...

4 years ago | 1254 views

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

4 years ago | 0 Answers | 0

### 0

Posted

Read Data by Usb
If you absolutely have to, you can write your own usb API using libusb. (http://www.libusb.org/) If you absolutely have to, yo...

4 years ago | 38197 views

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

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

5 years ago | 0 Answers | 0

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

5 years ago | 4 Answers | 0

### 4

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

5 years ago | 2 Answers | 0

### 2

Responded

Re: Warning: Objects of graphics.plotmanager class exist - not clearing this class or any of its super-classes
Update from the Development team: This is a general warning that you see from the class system when a class definition cannot b...

5 years ago | 3110 views

Responded

Re: Warning: Objects of graphics.plotmanager class exist - not clearing this class or any of its super-classes
As an update: I've requested for technical support from Mathworks and they're looking into it. Regards Yu Ang

5 years ago | 3110 views

Posted

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: After closing the figure that appe...

5 years ago | 3110 views

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

5 years ago | 0 Answers | 0

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

5 years ago | 1 Answers | 0