Community Profile

photo

James Knight


8 total contributions since 2019

James Knight's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


one two three four
I have two strings stored in a variable EG A='HELLO' B='TEST' I want to repeat B to make it the same length as A ...

1 year ago | 1 answer | 0

1

answer

Question


Repeat the value of a variable to match the length of another variable
Hi I have two variables X = TESTING Y = WORLD I want to repeat Y until its the same length as X EG X = TESTING ...

1 year ago | 2 answers | 0

2

answers

Question


Place a space between executed code
Hi Whats the best way of placing a psace in the executed code in matlab EG userinput= input ('Enter your text here: ...

1 year ago | 0 answers | 0

0

answers

Question


If a number in a matrix is <9 add 5 to it
Hi I was reading on Matlab refrences : A = 4×4 16 2 3 13 5 11 10 8 9 7 6...

1 year ago | 1 answer | 0

1

answer

Question


Display a value from a Matrix based on user input
Hi I have a matrix , if the user enters '1234' at userinput I would like the output to be the next cell along or '5678' B etc. e...

1 year ago | 1 answer | 0

1

answer

Question


Storing data using cellstr
.

1 year ago | 1 answer | 0

1

answer

Question


Get data from a Cellstr
Hi I have a Cellstr and I want to call the data from it 5 numbers at a time, so the user enters the text, and a binary value...

1 year ago | 1 answer | 0

1

answer

Question


using strrep multiple times
Hi I want to use strrep multiple times but , whats the correct way of doing this without retyping sstrep Thanks in advan...

1 year ago | 2 answers | 0

2

answers