Community Profile # tban

12 total contributions since 2016

Contributions in
View by

Question

How do I import text from a text file in matlab?
I have a list like this in a MacBook text file. frame picture wall room house I want to import it in Matlab and use every ...

1 year ago | 1 answer | 0

### 1

Transforming a string of letters into number based on each value equaling a number.
mystring=char('word') len=length(mystring) w=23; o=15;r=18;d=4; total = 0; for i = 1:length(mystring) ...

3 years ago | 0

Transforming a string of letters into number based on each value equaling a number.
using this and it works, will let you know if i have any more questions y=char('john') y =john >> length(y) ans = 4...

3 years ago | 0

Transforming a string of letters into number based on each value equaling a number.
Well, mystring is made out of letters and length is only used for numbers, No?

3 years ago | 0

Question

Transforming a string of letters into number based on each value equaling a number.
If there are a finite amount of variables available for a string like... a,b,c,d,e....z, and each value is numbered 1,2,3,4,5.....

3 years ago | 4 answers | 0

### 4

Question

Help turning a permutation function into a script.
function [M, I] = permn(V, N) narginchk(2,3); if fix(N) ~= N || N < 0 || numel(N) ~= 1 ; error('permn:negativeN',...

3 years ago | 1 answer | 0

### 1

Question

Where can i find all of the functions of [x y] and it's linear functions?
What is the name of function that enables Matlab to pull information such as [x y]. Basically, when I write a function such as, ...

3 years ago | 0 answers | 0

### 0

Question

How to pull values out of a matrix using another matrix?
Matrix_One: [0 1 1 0; 1 1 0 0; 0 0 0 1; 1 0 0 0] Matrix_Two: [9 3 1 9; 3 6 1 9; 2 0 6 4; ...

3 years ago | 3 answers | 0

### 3

Question

While loop question in row addition sums. Want row to be less then 2.
I am generating a matrix such as this, 1.0739 0.9517 0.1078 0.4077 0.7066 0.7983 0.6003 1.188...

3 years ago | 2 answers | 0

### 2

Question

Continuous Time Markov Chains States
Having some trouble with this, Get the matrix > pwr it to needed state > solve linear eqs Getting 60.66% and 39.33% Dont...

3 years ago | 0 answers | 0

### 0

Question

How to delete all rows made out of a certain vector/array/row values from a matrix?
data= [1 1 1 2 2 12; 2 18 5 5 5 5; 5 1 1 5 5 5; 4 11 13 2 2 12; 5 1 1 5 5 5] ... (2093 lines) mode = [5 1 1...

3 years ago | 1 answer | 0