Community Profile

# Rafi Ahmed

80 2018 이후 총 참여 횟수

#### Rafi Ahmed's 배지

세부 정보 보기...

참여 게시물
보기 기준

제출됨

Minimum Value of A Matrix (without using min function)
Determination of Minimum Value for Each Row and Whole Matrix without Using the 'min' Function of MATLAB

2달 전 | 다운로드 수: 0 |

제출됨

Find Armstrong Numbers for Certain Range
Function of Armstrong numbers for certain range.

2달 전 | 다운로드 수: 0 |

해결됨

Get the elements of diagonal and antidiagonal for any m-by-n matrix
In the problem <http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal Problem 858. Permute ...

3달 전

질문

How to get image of figure with exact same size after saving on computer
I would like to save image from a figure with exact same size. I have used export setup for specific size (e.g. points) of image...

3달 전 | 답변 수: 1 | 0

### 1

답변

질문

Denoising Radar Image from White Noise
How Can I remove the white noise from the radar image below using a Treshold only?

3달 전 | 답변 수: 1 | 0

### 1

답변

해결됨

Change a specific color in an image
The ability to change colors can be a useful tool in image processing. Given an m x n x 3 array (much like CData in images), fin...

7달 전

해결됨

random picture with random colours
write a function which creates a random(x,y) matrix with random RGB colours for example create_pic(5,5) gives us a 3d matrix. ...

7달 전

질문

Is it possible to get the exact 2D image of the CData matrix of surf plot?
I have a matlab 3D plot(attached figure). I want to extract the 2D image from the surf plot of matlab like this: is it pos...

9달 전 | 답변 수: 1 | 0

### 1

답변

질문

How to extract the 3D image without losing the other parameters?
I need to extract the 3D image from this Matlab figure(attached as .fig) and place it with same dimension without losing the par...

10달 전 | 답변 수: 0 | 0

### 0

답변

해결됨

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

10달 전

해결됨

Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

10달 전

해결됨

Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

11달 전

해결됨

Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

11달 전

해결됨

Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

11달 전

해결됨

Convert a vector into a number
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...

11달 전

해결됨

Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

11달 전

해결됨

Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

11달 전

해결됨

Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

11달 전

해결됨

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

11달 전

해결됨

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

11달 전

해결됨

Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

11달 전

해결됨

Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

11달 전

문제

Scalar Matrix Manipulation
Assume, input x is a scalar matrix such as, x = 2 0 0 0 2 0 0 0 2 th...

11달 전 | 0

해결됨

Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

11달 전

해결됨

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

11달 전

해결됨

Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

11달 전

해결됨

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

11달 전

해결됨

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

11달 전

해결됨

Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

11달 전

해결됨

Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

11달 전