Community Profile

photo

Kevin Smith


Active since 2017

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How can I label the x and y axis in this plot using the name of the Excel columns?
Hello all, I have a function that takes an Excel file as an input, and outputs a graph using the 2nd column of numbers as the ...

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Question


I need help arranging a vector using recursion please.
I am working on a function called vecSort that is supposed to arrange a vector from the smallest element to the largest using re...

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Question


Please help me test to see if a string is divisible by a number using tk (token).
I am trying to write a script to see if a text file 'example.txt' 67 33 60 -9 6 89 99 66 is divisible by aa given ...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


Please help replace the integers in this function.
I have a function replaceMultiples that I am trying to write. it is supposed to take an input as a filename (fname) of a text fil...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


i need help replacing the integers in this file.
I have a function replaceMultiples that I am trying to write. it is supposed to take an input as a filename (fname) of a text fil...

meer dan 5 jaar ago | 2 answers | 0

2

answers

Question


i need help writing a function!
I am trying to write a function that looks like this function update(student, field,value) I need it to allow me to inpu...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


I need help fixing one problem with this functtion.
I wrote this function 'removeLetter' to take any selected letter out of a given string and also displays the number of letters t...

meer dan 5 jaar ago | 2 answers | 0

2

answers

Question


How do i remove the letter a user inputs from a word?
I have a function [newstr, num]=removeLetter(str,letter) that is supposed to take a word and a letter selected by the user and r...

meer dan 5 jaar ago | 4 answers | 0

4

answers

Question


I need to display the max value in this function.
I have been working on a script for a function 'collatz' and I originally made it way more complex than it needed to be. I've ma...

meer dan 5 jaar ago | 2 answers | 0

2

answers

Question


I nee to change this str2double code while keeping the same output for my collatz function.
The following is the script to my function: function [steps,maxnum]=collatz(num) str=input('Enter an integer greater tha...

meer dan 5 jaar ago | 2 answers | 0

2

answers

Question


I need help displaying the max value in my while loop.
So I have wrote this code for a while loop/string: str=input('Enter an integer greater than 1:','s'); num=str2double...

meer dan 5 jaar ago | 2 answers | 0

2

answers

Question


I need help determining and displaying the number of steps it takes to complete this loop when any integer is entered.
so I have figured out how to write the while loop I need. It looks like this: b=0; b=input('Enter an integer greater tha...

meer dan 5 jaar ago | 1 answer | 0

1

answer