Community Profile

# Shahid Ali Murtza

##### Last seen: 3 maanden ago
50 total contributions since 2012

View details...

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

meer dan 5 jaar 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...

meer dan 5 jaar ago

Submitted

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

Solved

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

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

ongeveer 7 jaar ago

Solved

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

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

ongeveer 7 jaar 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]...

ongeveer 7 jaar ago

Solved

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

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

ongeveer 7 jaar ago

Solved

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

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

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

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

ongeveer 7 jaar ago | 2

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

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

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

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

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

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

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

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

ongeveer 7 jaar ago

Submitted

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

Submitted

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

Submitted

Calendar
This submission is for Calendar in AD.

Submitted

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

Submitted

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

Submitted

DTMF GUI
This a GUI based DTMF analysis.

Submitted

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