답변 있음
extract the same coloumn from multiple mtrix
To extract column 70 from matrix M you do C = M(:,70); To add this column to another matrix (M2) you do M2 = [M2, C...

거의 12년 전 | 0

답변 있음
User interface on R2012b
You're stuck :)

거의 12년 전 | 0

답변 있음
How to read/write files inside a loop?
Use sprintf('Sec%d.dat', i) instead of 'Sec(i).dat'. So something like this Amat = dlmread (sprintf('Sec%d.dat', i)...

거의 12년 전 | 1

답변 있음
How to write a "text" object inside axes??
It seems you didn't specify the position vector... a = text('Parent', h(13), 'Position', [???], 'String', 'Test')

거의 12년 전 | 0

답변 있음
How do I create/find a bam index file for using the bamread function?
You can use a BioMap object to load the information from the BAM file without the BAI file. See instructions here: http://www.ma...

거의 12년 전 | 0

| 수락됨

질문


A question about linkaxes options
Hi all, I would like to link all the x axes but only a subgroup of the y axes in a figure. For example is I have 3 axes (ax(1...

거의 12년 전 | 답변 수: 2 | 0

2

답변

답변 있음
Is there an easy way to redirect the output of gscatter to a previously defined axes handle?
Probably you just need to make the important axes the current axes. For example: figure hax1 = subplot(2,1,1); hax2 =...

거의 12년 전 | 0

답변 있음
??? Subscript indices must either be real positive integers or logicals.
You forgot an "*" puvy = P2 + u * (P3 - P2);

거의 12년 전 | 1

| 수락됨

답변 있음
Create random values between two decimal values
en_points(:,2) = (0.5 - l) + 2*l*rand(NUM_EN_POINTS,1);

거의 12년 전 | 1

| 수락됨

답변 있음
Plotting a function inside a m-file?
Function f2 returns only a number... Probably you want a vector, with one element for each element of x. In this case use f...

거의 12년 전 | 0

| 수락됨

답변 있음
How do I clear a figure?
Use |clf| http://www.mathworks.com/help/matlab/ref/clf.html

거의 12년 전 | 1

| 수락됨

답변 있음
How can I make the plot function use a string as an argument?
use |eval|: http://www.mathworks.com/help/matlab/ref/eval.html Example: V = rand(100,1); string = 'V(1:10)'; plot(...

거의 12년 전 | 2

| 수락됨

답변 있음
Subscript Error Plz help
Just look at line 50 and what vectors are there. Probably there is something like vector(negative_number) So check why ...

거의 12년 전 | 0

| 수락됨

답변 있음
help with decimal,hexa,etc converter.
str = dec2base(yourBase10Number, newBase)

거의 12년 전 | 0

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

거의 12년 전 | 0

답변 있음
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...

거의 12년 전 | 0

| 수락됨

답변 있음
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...

거의 12년 전 | 0

| 수락됨

답변 있음
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...

거의 12년 전 | 1

답변 있음
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...

거의 12년 전 | 2

| 수락됨

답변 있음
prevent function from displaying output
f = delet;

거의 12년 전 | 1

| 수락됨

답변 있음
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 ...

거의 12년 전 | 0

| 수락됨

질문


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

거의 12년 전 | 답변 수: 2 | 0

2

답변

질문


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

거의 12년 전 | 답변 수: 1 | 0

1

답변

답변 있음
date for release of Matlab 2012b general release
My guess: tomorrow, Sep. 4, 2012...

거의 12년 전 | 1

질문


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

대략 12년 전 | 답변 수: 2 | 1

2

답변

질문


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

대략 12년 전 | 답변 수: 0 | 0

0

답변

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

12년 초과 전 | 2

| 수락됨

답변 있음
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...

12년 초과 전 | 0

질문


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

12년 초과 전 | 답변 수: 1 | 1

1

답변

답변 있음
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; ...

12년 초과 전 | 0

| 수락됨

더 보기