Community Profile

# chandrapal Singh

##### Last seen: Today
38 total contributions since 2013

View details...

Contributions in
View by

How to load specific image extension from specific path directory MATLAB ?
Create a Pushbutton and use the following code path=uigetdir(); path img_directory= dir(path); total_images= length(img_di...

1 year ago | 0

Question

How to read give Filename.csv in MATLAB?
I want to load this file but I am getting the error as "Trouble reading 'Numeric' field from the file" Can anyone help? Thanks...

2 years ago | 1 answer | 0

### 1

Solved

Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

2 years ago

Solved

2 years ago

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

2 years ago

Solved

multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

2 years ago

Solved

Calculate the sum of two numbers. Example input = [2 3] output = 5

2 years ago

Solved

Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

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

3 years ago

can any one check my model and correct the mistakes ....????

3 years ago | 0

Solved

Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

3 years ago

Question

I am working in MATLAB GUI. i want to hide the axes values in the gui . is there any possible solution to remove it without using Panel?

3 years ago | 0 answers | 0

### 0

Adding white noise to an audio signal to obtain a targeted SNR
you can try with this code. [ Output_noisy_signal, noise_value ] = generate_noisy( inp_signal, noise_value, snr );

3 years ago | 0

Cannot open file , no permission

3 years ago | 0

i am using 32bit matlab 2015b on my windows 7 . when i run simulink the following error occured
RAM should be minimum 4GB and /3GB boot flag should be configured. the best option is to go for 64 bit OS with 64-bit MATLAB ...

3 years ago | 0

windows and Matlab version compatibility issue. I think you need to install the proper version of MATLAB according to your opera...

3 years ago | 0

Can anyone please help me to fix this error in the coding of fractal image compression ? Your help is greatly appreciated. Thank you.
I tried this same code in MATLAB 2013b. It is working fine. You can try with PSNR function attached.

3 years ago | 1

| accepted

Solved

Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

3 years ago

Solved

Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

3 years ago

Solved

How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

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

3 years ago

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

3 years ago

Solved

Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

3 years ago

Solved

Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

3 years ago

Solved

Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

3 years ago

Solved

Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

3 years ago

Solved

NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

3 years ago

Solved

Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

3 years ago