photo

James Connor


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


plotting using semilogy in a loop
say I have s= 0.604098184248020 0.642263089970519 3.73235669061904 0.147329697780077 0.238159152322172 0.0172071450520552 0...

9 years ago | 1 answer | 0

1

answer

Question


fprintf for logical statement
im trying to write a single code for an fprintf. Say I have x=1.9712 nh=0.3224 converged=true (or sometimes false) I have ...

9 years ago | 5 answers | 0

5

answers

Question


finding values in a column
If I have a 2x6 table x=[2.85952761913254,-1.33764402056949,-2.74861220460403,-2.39401291954310,-2.41122090675109,-2.586240...

9 years ago | 1 answer | 0

1

answer

Question


creating a polygon using device
I have 2 functions in matlab t.go (which moves my device 0.1 units forward starting at the origin, facing absolute right at the ...

9 years ago | 2 answers | 0

2

answers

Question


finding highest values in string
say I have a string x='asdqweqweasdddasdaaaaaaaaasdeeeeeer' and another string y='aed' how do I find the letter that occurs in ...

9 years ago | 1 answer | 0

1

answer

Question


deleting words from a cell array
if I have a cell array x={'areach';'aread';'areal';'areality';'arean';'arear';'areasoner';'areaway';'areca';'arecaceae'} ...

9 years ago | 2 answers | 0

2

answers

Question


removing elements of cell array
say I have a 1 column cell array x={'aa';'aal';'aalii';'aam';'aani';'aardvark';'aardwolf';'aaron'} and word=nanny how...

9 years ago | 2 answers | 0

2

answers

Question


removing elements of a cell array
say we have a cell array dictionary= 'abbreviately' 'abbreviation' 'abbreviator' 'abbreviatory' 'abbreviature' 'abby' ...

9 years ago | 1 answer | 0

1

answer

Question


manipulating strings and cell arrays
I'm trying to create a simplified hangman game I'm just having trouble with this part of the code. word_needed_to_be_guess...

9 years ago | 0 answers | 0

0

answers

Question


Changing for loop into recursive
how would I go about changing this to become recursive for x=1 if (10^x)*p<q x=x+1; elseif (10^x)*...

9 years ago | 1 answer | 0

1

answer

Question


Getting 1 value from another.
Lets say we have an array 20 4 21 5 22 3 23 2 24 1 25 2 26 7 if that table say =x how do I return...

9 years ago | 1 answer | 0

1

answer

Question


If a number pops up again in a row.
How do I find the first number in a row that repeats itself and what position it was. For example, say I have a row x=[0 20 60...

9 years ago | 2 answers | 0

2

answers

Question


Calling unique rows in vectors
I have 2 row vectors Remainder = 50 10 30 20 60 40 50 10 Quotient = 1 7 1 4 2 8 5 7 1 4 2 8 5 How would I produce...

9 years ago | 0 answers | 0

0

answers

Question


Changing code into a loop
James' question was concerned with how you might go about repeating the same block of code t.push() t.turn(turnAngle...

9 years ago | 1 answer | 0

1

answer

Question


Using multiple functions in combination
edit

9 years ago | 1 answer | 0

1

answer

Question


Making slight changes to code- adding loop/returning values
I am given this code table. 1 4 2001 30 29 8 1 2 4 2001 4 5 2 1 2 4 2001 9 6 4 7 2 4 2002 19 14 7 3 ...

9 years ago | 1 answer | 0

1

answer

Question


Creating a ring of stars like a flag
Hi, I have these codes for a star and a circle. % Create a light blue star xc = 1.0; yc = 3.0; t = (-1/4:1/10:3...

9 years ago | 1 answer | 0

1

answer

Question


Drawing a star with n points
Hi guys I have this question to do but I have no clue for any of it. First write a function file star.m with first line func...

9 years ago | 1 answer | 0

1

answer