Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATLAB m = [815 906 127 914 632 97 278 547 958 965 157 971 958 485 801 142 422 916 792 960 656 35

MATLAB

image text in transcribedm = [815 906 127 914 632 97 278 547 958 965 157 971 958 485 801 142 422 916 792 960 656 35 849 934 679 758 743 392 656 171 706 31 277 46 97 824 695 317 951 34]

Max element by hand My Solutions > You are given a large one dimensional array m Use for loop, find the maximum element BY HAND Script Save C Reset MATLAB Documentation 278 547 958 965 157 971 958 485 801 142 422 916 792 960 656 35 849 934 679 758 743 392 656 171 706 3 = 5 1 m = [815 906 127 914 632 97 2 N length(m); 3 el_max = m(1); % temporary 4 for i=2:N if % something here 6 % something here end 8 end 9 el_max 10 7

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions

Question

CL I P COL Astro- L(1-cas0) Lsing *A=2 L sin(0/2)

Answered: 1 week ago