Community Profile

photo

Noah Swiston


Active since 2015

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How to recursively add odd index elements in a vector
I have an assignment to write a recursive function to add the odd elements within a vector. For example i have a vector v =...

9 years ago | 1 answer | 0

1

answer

Question


Editing a function to return a value that shows how many times a recursive function is called
I have two separate functions. They are both used to calculate a Fibonacci number. Here is the first function [result] = myF...

9 years ago | 3 answers | 0

3

answers

Question


Plotting colums from matrix
I am looking to plot certain colums from a matrix. I want to plot colums 7-10 and column 12 all on a line graph. Thanks

9 years ago | 1 answer | 0

1

answer

Question


How to add a title to each column/ row in matrix?
I have a cell array which displays a word and the number of times it occurs in a file. for example: 'take' [7] ...

9 years ago | 1 answer | 0

1

answer

Question


Extracting text from .txt file and place into a string.
I have a number of txt files which contain famous speeches. How do I open the file, and extract the entire speech and place it i...

9 years ago | 1 answer | 0

1

answer

Question


How do I open a text file and extract the contents as a string?
Im looking to open a text file and extract the contents(in this case a famous speech) into a string of data so the allwords.m fi...

9 years ago | 1 answer | 0

1

answer

Question


how to create a function that counts all words in a document?
I am attempting to make a function that takes in a speech as an input argument in a text file. I would then like to read the sp...

9 years ago | 3 answers | 0

3

answers