Feeds
질문
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 ...
거의 4년 전 | 답변 수: 2 | 0
2
답변질문
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 ...
거의 4년 전 | 답변 수: 2 | 0
