Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4.2) MATLAB Exercise 1. Open MATLAB, and load the data file My Workspace from the previous section into MATLAB. (Tip: you can use the load

image text in transcribed
image text in transcribed
4.2) MATLAB Exercise 1. Open MATLAB, and load the data file "My Workspace" from the previous section into MATLAB. (Tip: you can use the "load" button in the Workspace or the load command.) 2. Can you find how many elements in n are larger than 0.5 ? 3. What is the index of the smallest element in in the vector n? (Tip: check out the min function.) 4. Try calculating the value of x from the following expression: x =Q1000 i=1 ui Q1000 j=1 uj The correct answer is obviously 1. Can you reach it? (Tip: try using prod function, and separately exp, log, sum functions.) 5. Compute meanU as the average of the vector u. (Tip: use mean function.) 6. Find the location of the elements in u that are larger that 0.9 using the command >> 1 = find(u>0.9). 7. Set all of the elements in u with larger than 0.9 to zero. How much does the mean of u shrink

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

Step: 3

blur-text-image

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

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions

Question

2. How will you handle the situation?

Answered: 1 week ago

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago