Community Profile

photo

Alnuaimi


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Write a function in Matlab that would take as input a row matrix.
* Use a for loop to compute the square of each element in A and store the square values in matrix B. function [B] = Square(...

10 years ago | 2 answers | 0

2

answers

Question


I need help writing a function that checks if a number is even or odd in Matlab.
Write a function that would decide whether a number is even or odd. The function will take input n and display on the command wi...

10 years ago | 1 answer | 0

1

answer