PLEASE MATLAB CODE !!! DONT C++ OR C#

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

PLEASE MATLAB CODE !!! DONT C++ OR C#

Post by answerhappygod »

PLEASE MATLAB CODE !!!
DONT C++ OR C#
Please Matlab Code Dont C Or C 1
Please Matlab Code Dont C Or C 1 (40.47 KiB) Viewed 26 times
Write a function named create_mat that takes two inputs, which are the number of rows (r) and columns (e) of a rectangular matrix that it will creat returns a matrix (M) having the structure given in the example below. Example: number of rows: 6 number of columns: 28 Output: 0000060000060000060000060000 0000550000550000550000550000 0004440004440004440004440004 00333300333300333 300333 30033 0222220 222 2202 22 2202 22 2202 22 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 The code has already been provided to define a function named create_mat that accepts the input variables rand e Note that r and c are defined as inputs to the function. Do not overwrite values in these variables in your code. Be sure to assign a value to the function output variable (M). Inputs:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply