Community Profile

Working currently as Assistant Consultant. Professional Interests: signal processing, embedded systems

Contact

Top 1% contributor

Keep Only the Upper characters in a string s = 'Sreeram Mohan'; output = SM;

Solve this!

0

2 months ago

I just tried a thing quickly ! [Object Status] = urlread('https://graph.facebook.com/Mathworks') The Object should contain ...

accepted

2

Answered 3 years ago

35 downloads

5 years ago

HI, you could see my post that does the serial port plot with an arduino uc. Thanks, --sreeram

16267 views

Responded 5 years ago

Hi Wern, From 14a the "Deploy to Hardware" is the way to deploy your model onto the hardware like arduino. Refer to the li...

Answered 2 months ago

Hi Kestutis, find_system is the command that is easier way(though slow if the models are large) that can come in handy. ...

Hi Bill, You could try something like this, I am not sure if this will work but worth a try : In the copyfcn call back of...

Answered 3 months ago

model = 'your_model_name'; open_system(model); %Select the line whose source has to be traced port = get_param([model '/Ou...

Answered 1 year ago

Here is an API published by facebook http://developers.facebook.com/docs/reference/api/ You should combine the calls with t...

1

In the same lines one could also explore the possibility to use the Simulink Variant Subsystems feature that allows to switch ac...

Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the user's portion of the current search...

4 days ago

Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

Given a vector x, the output y should equal the length of x.

Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

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

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

A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

Load more