Community Profile

# Shahid Ali Murtza

Last seen: 1 year ago Active since 2012

All

#### Content Feed

View by

Solved

Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

9 years ago

Solved

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

9 years ago

Submitted

FETEX MATLAB CONTEST
Solutions to all questions asked in FETEX at IIUI.(Signals and Systems, and MATLAB)

9 years ago | 1 download |

Solved

Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.

10 years ago

Solved

Given a 4x4 matrix, swap the two middle columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

10 years ago

Solved

Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

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

10 years ago

Solved

Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

10 years ago

Solved

Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

10 years ago

Solved

Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

10 years ago

Solved

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

10 years ago

Solved

Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

10 years ago

Solved

Calculating Sign Changes in a Row Vector(No Element Is Zero)?
For a row vector V=[7 1 2 -3] has one sign change from 2 to -3. So N=Sign_Changes(V) must return N=1; V=[5 9 -2 7]; h...

10 years ago

Problem

Calculating Sign Changes in a Row Vector(No Element Is Zero)?
For a row vector V=[7 1 2 -3] has one sign change from 2 to -3. So N=Sign_Changes(V) must return N=1; V=[5 9 -2 7]; h...

10 years ago | 9 | 556 solvers

Solved

Vectorize the digits of an Integer
Create a vector of length N for an integer of N digits. x=123045; x_vec=[1 2 3 0 4 5]; I happened upon a trick to do ...

10 years ago

Solved

Power The Product
EXAMPLE: INPUT x=10 & y=10 OUTPUT z=1000000 or, INPUT x=2 & y=3 OUTPUT z= 216 you just need to calculate the product first...

10 years ago

Solved

Reverse CHECKBOX MATRIX with 69
Create a reverse checkbox matrix with '69'. Where the size is the input and output will be a square checkbox matrix. Exa...

10 years ago

Solved

COUNT VOWEL 2
The objective of this problem is to determine the number of unique vowels used in the given string. Now count vowels in STRI...

10 years ago

Solved

COUNT VOWEL
Count, how many times vowels occurred. EXAMPLE: x='string the MaTLaBiAn' then the answer will be 6. x='coUnt the vowEl' th...

10 years ago

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

10 years ago

Solved

How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

10 years ago

Solved

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

10 years ago

Submitted

Image Acquisition Through Web Cam ( GUI Preview)
Image Acquiring with the help of Matlab GUI(interface with Cam). A configurable CAM!!!.

10 years ago | 2 downloads |

Submitted

GUI for Convolution
This gui includes convolution in both continuous and discrete time domains .

10 years ago | 3 downloads |

Submitted

Calendar
This submission is for Calendar in AD.

11 years ago | 1 download |

Submitted

GPA and CGPA Calculator
This is a GUI based cgpa calculator.

11 years ago | 4 downloads |

Submitted

Temperature Conversion GUI
This is a simple GUI in Matlab, use of radio buttons is here.

11 years ago | 2 downloads |

Submitted

DTMF GUI
This a GUI based DTMF analysis.

11 years ago | 1 download |

Submitted

Up and Down Sampling
This function is for both up and down sampling of Discrete Time Signals of Type X[M*n].

11 years ago | 1 download |

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

11 years ago