Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 2

| akzeptiert

Beantwortet
prevent function from displaying output
f = delet;

mehr als 13 Jahre vor | 1

| akzeptiert

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

mehr als 13 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 13 Jahre vor | 1

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Gelöst


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

mehr als 13 Jahre vor

Frage


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

fast 14 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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

fast 14 Jahre vor | 0 Antworten | 0

0

Antworten

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

fast 14 Jahre vor | 2

| akzeptiert

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

etwa 14 Jahre vor | 0

Frage


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

etwa 14 Jahre vor | 1 Antwort | 1

1

Antwort

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

etwa 14 Jahre vor | 0

| akzeptiert

Frage


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

etwa 14 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 14 Jahre vor | 0

| akzeptiert

Mehr laden