Resuelto


Is my wife right?
Regardless of input, output the string 'yes'.

casi 14 años hace

Resuelto


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

casi 14 años hace

Resuelto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

casi 14 años hace

Resuelto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

casi 14 años hace

Resuelto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

casi 14 años hace

Resuelto


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

casi 14 años hace

Respondida
help with decimal,hexa,etc converter.
str = dec2base(yourBase10Number, newBase)

casi 14 años hace | 0

Respondida
Help 3D plotting in matlab
And more options here: http://www.mathworks.com/help/matlab/surface-and-mesh-plots-1.html

casi 14 años hace | 0

Respondida
how to read or write a file according to its absolute path
I don't see any problem. I'm sure every Matlab function can deal with local files as well as with absolute paths. This may he...

casi 14 años hace | 0

| aceptada

Respondida
Convert a 3D image array into a cell array
Try this: blank = true(1,p); for k = 1:p if any(M(:,:,k)) blank(k) = false; end end where M is your...

casi 14 años hace | 0

| aceptada

Respondida
how do i solve for the unknown variable
If you have the vectors x and y e.g. x = 0.5 * rand(10, 1); y = 0.5 * rand(10, 1); Then the z is simply z = s...

casi 14 años hace | 1

Respondida
Problem using RESHAPE function
The problem is in the text file you try to import. Line 10 (2 24652 003.9626 209.9743 7275563 179.0821 184.3511 02.2789937100...

casi 14 años hace | 2

| aceptada

Respondida
prevent function from displaying output
f = delet;

casi 14 años hace | 1

| aceptada

Respondida
BioMap bug (bioinformatics toolbox)
Probably I should close this question... The bug was fixed in release 2012b. The support team sent me a dll file which fixes ...

casi 14 años hace | 0

| aceptada

Pregunta


how to create a circular heat map
Hi, Can you give me some hints about how I can start generating a circular heat map like this: http://www.eurekalert.org/mul...

casi 14 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Can I plot rectangles without rescalling axis limits?
Hi, I try to plot a function and to mark some locations using |rectangle|. I use pan xon to be able to pan, and the y...

casi 14 años hace | 1 respuesta | 0

1

respuesta

Respondida
date for release of Matlab 2012b general release
My guess: tomorrow, Sep. 4, 2012...

casi 14 años hace | 1

Resuelto


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

casi 14 años hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

casi 14 años hace

Resuelto


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

casi 14 años hace

Resuelto


Add two numbers
Given a and b, return the sum a+b in c.

casi 14 años hace

Resuelto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

casi 14 años hace

Pregunta


pan cancels WindowKeyPressFcn callback...
Hi, I noticed that after using the |pan| function, |WindowKeyPressFcn| callback doesn't work anymore... Example: fun...

alrededor de 14 años hace | 2 respuestas | 1

2

respuestas

Pregunta


Pan plots with linked x axis
I noticed a problem which is also described in much more details here: http://www.mathworks.ch/matlabcentral/newsreader/view_th...

alrededor de 14 años hace | 0 respuestas | 0

0

respuestas

Respondida
How to sample from custom 2D distribution?
Try pinky :) http://www.mathworks.com/matlabcentral/fileexchange/35797

alrededor de 14 años hace | 2

| aceptada

Respondida
Extracting the red channel of an image
v contains only one color plane, so imshow(v) treats it as a grayscale image. You have there the actual red intensities. If y...

alrededor de 14 años hace | 0

Pregunta


Optimization problem
Hi, I try to get the minimum of a function which is defined at discrete points (i,j - integers). The simplest example would be...

alrededor de 14 años hace | 1 respuesta | 1

1

respuesta

Respondida
How to convert a nucleotide sequence data into complex number form such that base A= 1+i, G=1-i, C= -1-i and T=-1+i
function J = convert2complex(S) I = nt2int(S); J = nan(size(I)); J(I == 1) = 1+1i; J(I == 2) = -1-1i; ...

más de 14 años hace | 0

| aceptada

Pregunta


Bioinformatics toolbox - featuresmap question
Hi, I'm trying to plot the annotations corresponding to a chromosome, and I would like to plot only a small region of the chr...

más de 14 años hace | 1 respuesta | 0

1

respuesta

Respondida
error in the code for markov chain
I guess you want a matrix Chain which has in the end on each row some probabilities... You try to put a vector curr_state into ...

más de 14 años hace | 0

| aceptada

Cargar más