Answered

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

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

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

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

Add two numbers

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

Answered

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

<</matlabcentral/answers/uploaded_files/113073/Out.JPG>> i am getting this type of output

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

<</matlabcentral/answers/uploaded_files/113073/Out.JPG>> i am getting this type of output

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?

<</matlabcentral/answers/uploaded_files/112620/Capture.JPG>>

3 years ago | 0 answers | 0

Answered

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 );

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

Answered

Cannot open file , no permission

a=strcat('Your_Path\','Image.extenstion'); imageName =imread(a);

Cannot open file , no permission

a=strcat('Your_Path\','Image.extenstion'); imageName =imread(a);

3 years ago | 0

Answered

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

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

Answered

while opening simulink, there's an error .please suggest me a solution.

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

while opening simulink, there's an error .please suggest me a solution.

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

Answered

How to segment cursive/connected (Arabic) word into characters?

Blob analysis

How to segment cursive/connected (Arabic) word into characters?

Blob analysis

3 years ago | 0

Answered

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.

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?

*± ± ± ± ± ± ± ± ± ± ±* * 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