Solved

Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

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

8 years ago

Solved

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

8 years ago

Solved

Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

8 years ago

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

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

8 years ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

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

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

8 years ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

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

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

How to plot the 4th dimension of an array?
Extract the 4th dimension first. fourthDimMatrix = allMatrix(:,:,4) Then try |plot| function

8 years ago | 0

how to take a value from matlab workspace
Try |fwrite| <http://www.mathworks.in/help/matlab/ref/serial.fwrite.html fwrite>

8 years ago | 0

i have 1000*1000 pixel image.how can i convert it into m*n(400*300) pixel image.
outputImage = imresize(inputImage,[400 300]);

8 years ago | 0

find position of the matrix
x(1), x(2) ... x(end), Gives you each every value in the array.

8 years ago | 0

| accepted

how to do real image acquisition using webcam?
After Connecting Webcam with your computer, Just type |imaqtool| in your command window. Refresh the Hardware Browser to find yo...

8 years ago | 0

Use of the Pop-up menu in a GUI
get(handles.Vt_Callback,'Value') This returns the value. Try using: get(handles.Vt_Callback,'String')

8 years ago | 0

To Know the total number of pixels which belongs to one color
I = imread('peppers.png'); RedPlane = I(:,:,1); GreenPlane = I(:,:,2); BluePlane = I(:,:,3); This how you may extr...

8 years ago | 0

randomly access a file in matlab
Please specify the type of data you are reading from the current folder in this line. f = dir(['myfolder\*.jpg']); or an...

8 years ago | 0

Question

Warning in reading data from serial port.
I'm trying to read a single character 'A' from serial port, But it is issuing a warning always. CharVar = fscanf(SerialObj,...

8 years ago | 1 answer | 0

### 1

Question

Communication with PIC Microcontroller
I have designed a face recognition system. If the face is recognized, I'm sending a character |'a'| via serial port to microcont...

8 years ago | 1 answer | 1

### 1

Question

How to assign classes for group of images in a classifier?
I'm developing a Finger knuckle print biometric system. For that I had extracted SIFT and SURF Features for the image. I am havi...

8 years ago | 1 answer | 0

### 1

How to match features
This |showMatchedFeatures| feature was available only in MATLAB R2013a and not in any lower versions.

8 years ago | 0

Question

MATLAB R2013a is not installing.
I'm trying to install MATLAB R2013a. I'm getting error while installing. When I invoke the "setup.exe" program in the setup, it ...

8 years ago | 1 answer | 0

### 1

Question

Creating a 2-D matrix from a 1-D Array?
Considering that I have an array of |A = [150 11 12 134 130 152]|. How to replicate these elements in this array to get a matri...

8 years ago | 3 answers | 0

### 3

Question

How to draw this figure?
I have this figure. I have the color portion. That is they are surface plot that are visible from the top. Also I plotted those ...

8 years ago | 1 answer | 0

### 1

Question

How to draw this figure?
I have these figures with the equation also shown. I tried making this. But I did not got the expected result. Please give me so...

8 years ago | 1 answer | 0