photo

Max


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


counting and merging in array
How would I write for example a function that merges say x=(0:2:6 ,[1 ,2]) into x=[0,1,2,2,4,6] Furthermore say I wanted to coun...

9 years ago | 1 answer | 0

1

answer

Question


How to plot using semilogy
how would I plot using semilogy() for t=1.57123822236922 1.60940312809172 47.3847818221929 1.55948917911167 1.2890181602...

9 years ago | 2 answers | 0

2

answers

Question


finding most common letter in a cell array
If I have a cell array x={'overcomplete';'phellandrene';'phenanthrene';'pneumatocele';'pneumonocele' 'preintercede';'pr...

9 years ago | 2 answers | 0

2

answers

Question


finding most common letter in a string
say I have a string y='asdqwdqwdasasdasdaasasdwdqwd' How do I find the letter that occurs the most in y which is clearly 'a' so...

9 years ago | 1 answer | 0

1

answer

Question


count number of elements in a cell
say I have x={'zyryan';'zythem';'zythia';'zythum';'zyzomys'} how would I count the number of elements in x. There are 5 words...

9 years ago | 2 answers | 0

2

answers

Question


exiting code if condition is met
I have written a bunch of code but I would like to ignore it if and a condition is met. so for if length(dict)=1 newgu...

9 years ago | 1 answer | 0

1

answer

Question


last letter in a string
I have a string that is going to keep updating Say x='ear' how do I take the last later in the string so say lastletter='r' ...

9 years ago | 1 answer | 0

1

answer

Question


taking second mode from strings
I want to write something that takes the most common letter from a cell array of it does not appear in another string newgue...

9 years ago | 1 answer | 0

1

answer

Question


delete words from list based on logical statement
say I have a cell array x={'abatable';'abate';'abatement';'abater';'dog';'cat';'make';'abator';'see'} and word='abatis' let...

9 years ago | 3 answers | 0

3

answers

Question


finding most common letter in a bunch of words
say I have a bunch of words x={'abac';'abaca';'abacate';'abacay';'abacinate';'abacination';'abaciscus'} What would I write...

9 years ago | 3 answers | 0

3

answers

Question


Getting rid of the for loop
D I'm having trouble getting rid of the for loop in my function. I have written out this code that works fine but I would li...

9 years ago | 1 answer | 0

1

answer

Question


removing strings on several calls of function
I'm trying to remove strings once they have been called. And then I want to ignore an if statement on the next call of a functio...

9 years ago | 2 answers | 0

2

answers

Question


if statement for string
Say I have something like word='example' and letter='e' I'm trying write a if state for example if word contains l...

9 years ago | 1 answer | 0

1

answer

Question


unique characters in a cell
If I have a cell x= 'sat' 'satire' 'sa' 'do' How would I list all the unique letters that appear from the list...

9 years ago | 1 answer | 0

1

answer

Question


editing a cell in a loop
If I have a 1 column cell x= 'dog' 'at' 'cat' 'four' 'creative' How do I write code t...

9 years ago | 1 answer | 0

1

answer

Question


adding letters to string
Say I start of with an empty string x='' And I input something random say 'd' I would like x='d' then If I input a second th...

9 years ago | 2 answers | 0

2

answers

Question


removing elements of cell array of strings
how would I write a loop that removes words depending on inputs. say I have 'aam' 'aani' 'aardvark' 'aardwolf' 'aaron'...

9 years ago | 1 answer | 0

1

answer

Question


selecting random part of string
say I have alphabet='abcdefghijklmnopqrstuvwxyz' how do i select a random letter from the alphabet so Guess= random let...

9 years ago | 1 answer | 0

1

answer

Question


Adding elements to an array
say I have an array x=[0,0,2,3,4] and a code for n=1 if (10^n)*p<q n=n+1; elseif (10^...

9 years ago | 1 answer | 0

1

answer

Question


Converting For loops into recursive functions
What are the general ideas of converting for loops and nested for loops I have written into recursive functions that dont need l...

9 years ago | 1 answer | 0

1

answer

Question


How to exist out of 2 for loops.
for i=1:(q+1) ...... for ... if ... break end end end Im ha...

9 years ago | 1 answer | 0

1

answer

Question


Finding if a number repeats in a single row
How do I create a script that checks if a number comes up more than once in a single row. For example, lets say we have a single...

9 years ago | 1 answer | 0

1

answer

Question


Code to recognize repeating numbers.
lets say we have a fraction were the denominator is always bigger than the numerator. For example 2/3 or 7/12. How would you cr...

9 years ago | 1 answer | 0

1

answer

Question


Finding averages in an array
1 4 2001 30 29 8 1 2 4 2002 4 5 2 1 2 4 2002 9 6 4 7 2 4 2002 19 14 7 3 2 4 2002 25 21 5 4 2 4 2002 7 18 4 5 2...

9 years ago | 2 answers | 0

2

answers

Question


Finding how many times a team lost from an array
Im given 1 5 2004 16 8 13 3 1 5 2004 21 12 8 6 1 5 2005 22 25 3 8 1 5 2005 23 22 2 1 1 5 2005 2...

9 years ago | 1 answer | 0

1

answer

Question


How many times a date appears in an array
I am given 7 10 2001 16 2 15 5 7 10 2001 20 18 0 5 7 10 2001 24 10 5 14 7 10 2001 26 15 2 1 7 10 2001 27 13 2 9 ...

9 years ago | 1 answer | 0

1

answer

Question


Summing different set of arrays.
7 10 2001 24 10 5 14 7 10 2001 14 15 2 1 7 10 2001 14 13 2 9 =x 31 3 2002 14 9 2 6 1 4 2002 14 19 10 3 1 ...

9 years ago | 3 answers | 0

3

answers

Question


Summing specific values in arrays
If i have something for example say 2,3 4,5 2,5 1,5 2,1 1,1 how would i sum up all the values on the seco...

9 years ago | 3 answers | 0

3

answers

Question


Comparing numbers in columns then summing the percentages
I have been given a tab 2 4 2001 4 5 2 1 2 4 2001 9 6 4 7 2 4 2001 19 14 7 3 2 4 2001 25 21 5 4 2 4 2001 7 18 ...

9 years ago | 1 answer | 0

1

answer