photo

Adam Quintero


Pasadena City College

Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Graphing a linear regression line from given points, very simple example, having trouble with matrices dimensions?
I am getting the error Inner matrix dim...

13 years ago | 1 answer | 0

1

answer

Question


How can I access the String properties of edit uicontrols and use them to calculate and send the result to a text uicontrol?
Here is the code I've written thus far: figure('Position',[150 100 900 400]); but01=uicontrol('Style','pushbutton', ... ...

13 years ago | 1 answer | 0

1

answer

Question


How to number a set of row labels, then apply those numerical labels to a set of the same row labels that are in a different order?
For example: matrix01 = abc123,GGAAFFVV;abc328,FFAATTRREEDD;abc9354,LSPSDKSDDD numerical_index_matrix01 = 1,GGAAFFVV;2,FFA...

13 years ago | 0 answers | 0

0

answers

Question


How can I insert values from the vertical 3rd matrix dimension in between the rows of the vertical 1st and 2nd dimension?
For matrix 210x2x4 I want to generate a 840x2 matrix, where in this order: [matrix(1,:,1);matrix(1,:,2);matrix(1,:,3);mat...

13 years ago | 2 answers | 0

2

answers

Question


How can comet3 be modified to have a disappearing tail?
i am not sure how to get the lines which are left behind in comet3 to disappear as the comet moves forward. My goal is to have i...

13 years ago | 1 answer | 0

1

answer

Answered
What format does the MSA data need to be in order to calculate pair-wise distances with seqpdist?
To calculate a scoring matrix from a MSA based on pam250 scoring, the input needs to be a cell array of the sequence strings. Mu...

13 years ago | 0

Question


What format does the MSA data need to be in order to calculate pair-wise distances with seqpdist?
I am reading a clustalw text format msa with multialignread. I have tried splitting the msaread data into two cells, and keeping...

13 years ago | 2 answers | 0

2

answers

Question


Given a vector of assorted positive integers, how to create a vector with the means of every 2 integers inserted between each other?
I've managed to take the mean of the whole vector with the mean function, but this doesn't seem like the right path to take. I a...

13 years ago | 4 answers | 0

4

answers

Question


How to put the lengths of each string in a cell array of strings into a single vector?
I have tried in vain to put this one together. This does work: s = seq(n,:),where n is the specific line for a the string. I'v...

13 years ago | 3 answers | 0

3

answers

Question


How do I create a set of variables from specific coordinate values in a square matrix?
I have a 30x30 matrix of numeric values. The horizontal and vertical coordinates are each the same 30 locations, with the values...

13 years ago | 2 answers | 0

2

answers

Question


How do I replace the zeros in a matrix with another integer, or with a pos or neg infinity?
I have a 145x145 distance matrix where: (1,1)=0 (2,2)=0 ... Can I replace just the diagonal with infinity values? There are othe...

13 years ago | 1 answer | 0

1

answer

Question


What's the best way to create a vector with a repeating and diminutive sequence?
For a small example, how to create a version of this, with a longer seequence. These are integers of equal length apart: v = ...

13 years ago | 1 answer | 0

1

answer

Question


Is there a smarter way to create a large vector, with repeated numbers in a diminishing quantity?
I need the vector to begin with 144 evenly spaced '2's, then 143 '3's, then 142 '4's, etc. I see the brute force method, but it ...

13 years ago | 5 answers | 1

5

answers

Answered
Using my own distribution matrix in the TSP Algorithm used in tsp_ga (found in the file exch)?
thank you, I now see how to properly input my data. I have a question about the xy format, the author states that it is an Nx2 m...

13 years ago | 0

Question


Using my own distribution matrix in the TSP Algorithm used in tsp_ga (found in the file exch)?
[EDIT: 20110602 02:26 CDT - reformat - WDR] I'm not sure how I would input my score matrix---> Name: scorematrix size: 145x145...

13 years ago | 3 answers | 0

3

answers