photo

Jacob Boulrice


Last seen: mer än 2 år ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


How to make a function that outputs true or false (logical) if a number inputted is in a predetermined vector?
% Here is my code: function [x] = testLucky1 % testLucky(x) - determine whether x is a lucky number % return true (1) if x ...

mer än 2 år ago | 2 answers | 0

2

answers

Question


How to output individual digits from a user input of 2 digit numbers?
% This is my code so far. Say n=10, output would be: "thanks, the digits are 10 and 10" % In this case, I want the output to ...

mer än 2 år ago | 2 answers | 0

2

answers