Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

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

8 years ago

Solved

Determine if input is odd

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

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

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

8 years ago

Solved

Times 2 - START HERE

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

8 years ago

Question

Find a point that does not fit to ellipse from a set of (x,y) co-ordinates

Hello, I have a set of (x,y) points which I am trying to fit to an ellipse. I used the Ellipse fit function by Tal Hendel ( <ht...

9 years ago | 1 answer | 0

Answered

How to create standalone executable which can run on other machine too.

I had once a similar problem. My standalone will work only in my current working directory. Not even in other folder in my own s...

How to create standalone executable which can run on other machine too.

I had once a similar problem. My standalone will work only in my current working directory. Not even in other folder in my own s...

9 years ago | 2

Question

FTDI FT232RL USB-Serial port converter giving junk data continuously

Hi, I know this is not related to MATLAB. But I hope it will be posted here. I have a UI which accepts data through serial po...

9 years ago | 1 answer | 0

Question

How to check if a serial port is already connected or not

Hello, Is there some function which indicates if a serial port is already connected and open? I do not want to know this by t...

9 years ago | 1 answer | 0

Question

Does serial () detect a virtual COM port

Hi, I want to know if the serial() function in MATLAB can get data from virtual COM ports. My system's COM port is not workin...

9 years ago | 1 answer | 0

Question

Creating Step by Step tutorial for guide gui

I have created a GUI with GUIDE. There are several pushbuttons which execute different functions. Also I have created a menu bar...

9 years ago | 1 answer | 1