Estadística
1 Problema
94 Soluciones
CLASIFICACIÓN
27.657
of 301.570
REPUTACIÓN
1
CONTRIBUCIONES
6 Preguntas
1 Respuesta
ACEPTACIÓN DE RESPUESTAS
100.0%
VOTOS RECIBIDOS
1
CLASIFICACIÓN
of 21.333
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
7.689
of 175.498
CONTRIBUCIONES
1 Problema
94 Soluciones
PUNTUACIÓN
995
NÚMERO DE INSIGNIAS
6
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Pregunta
Need help in analyzing image planes
% CODE 1 % Read RGB image x = imread('Lena.jpg'); rPlane = x(:,:,1); imshow(rPlane) % Displays Red Plane in Lena.jpg...
alrededor de 11 años hace | 1 respuesta | 0
1
respuestaCell Arrays to string
cellData = {'Matlab','is','a','high','level','programming','language'}; % Cell array combinedString = []; for i ...
alrededor de 11 años hace | 0
Pregunta
Grayscale, monochrome, binary image in matlab
In Matlab, 1. An 8-bit gray scale image has pixel values ranging from 0 to 255. The pixel depth may vary (16-bit, 32-bit, etc...
alrededor de 11 años hace | 1 respuesta | 1
1
respuestaPregunta
I have an array of length 256. It has either 0's and 1's of type uint8. I would like to concatenate it so that it occupies less memory and then recover the original array back. please check the eaxample
x = [1 0 1 1 1 0 0 1...........1] % uint8. length = 256. size = 256*8 = 2048 bytes xbin = 1011100...........1 % ...
alrededor de 11 años hace | 2 respuestas | 0
2
respuestasPregunta
In an array of numbers (0 to 255 of data type uint8), if any number occurs more than 3 times, I would like to insert number '255' (uint8) in between the array and return the position where '255' was inserted. Can somebody please help me?
*Example:* input = [1 255 0 0 0 9 9 9 1 6 6 6 6 6 6 1]; _% array of numbers (uint8)_ output = ...
alrededor de 11 años hace | 1 respuesta | 0
1
respuestaResuelto
Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...
alrededor de 12 años hace
Resuelto
Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...
casi 13 años hace
Resuelto
Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative
casi 13 años hace
Resuelto
Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...
casi 13 años hace
Resuelto
Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...
casi 13 años hace
Resuelto
sum of non-primes
The sum of the non-primes below 10 is 1+4+6+8+9+10=38 Find the sum of all the non-primes below the input, N.
casi 13 años hace
Resuelto
Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...
casi 13 años hace
Resuelto
Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...
casi 13 años hace
Resuelto
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
casi 13 años hace
Resuelto
Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.
casi 13 años hace
Resuelto
Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...
casi 13 años hace
Resuelto
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
casi 13 años hace
Resuelto
Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...
casi 13 años hace
Resuelto
Back to basics 7 - Equal NaNs
Covering some basic topics I haven't seen elsewhere on Cody. Given 2 input variables, output true if they are equal, false ot...
casi 13 años hace
Resuelto
Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...
casi 13 años hace
Resuelto
Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...
casi 13 años hace
Resuelto
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...
casi 13 años hace
Resuelto
Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...
casi 13 años hace
Resuelto
Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...
casi 13 años hace
Resuelto
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
casi 13 años hace
Resuelto
Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];
casi 13 años hace
Resuelto
Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...
casi 13 años hace







