Question

Lab 1 BASIC DATA PROCESSING PRE-LAB ASSIGNMENT 1. Read the lab manual carefully so you know what you have to do when you walk

please I need help with excel or matlab part. part 3
0 0
Add a comment Improve this question Transcribed image text
Answer #1

%% matlab code

clc
clear all

data1 = 0.1*randn([100 1])+2.15;
data2 = 0.3*randn([100 1]) + 2.05;

mean(data1)
mean(data2)

median(data1)
median(data2)

std(data1)
std(data2)

hist(data1,20)

figure
hist(data2,20)

%% Each time you run the code, you will get different results

MATLAB R2013a S X - Search Documentation HOME PLOTS E 5 CE ES X + New La Find Files & Compare O Preferences Set Path ? Help G19 2.1 22 2.3 2.4 2510 1.5 2.5 3.5

Add a comment
Know the answer?
Add Answer to:
please I need help with excel or matlab part. part 3 Lab 1 BASIC DATA PROCESSING...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • PLEASE HELP WITH THE FOLLOWING R CODE! I NEED HELP WITH PART C AND D, provided...

    PLEASE HELP WITH THE FOLLOWING R CODE! I NEED HELP WITH PART C AND D, provided is part a and b!!!! a) chiNum <- c() for (i in 1:1000) { g1 <- rnorm(20,10,4) g2 <- rnorm(20,10,4) g3 <- rnorm(20,10,4) g4 <- rnorm(20,10,4) g5 <- rnorm(20,10,4) g6 <- rnorm(20,10,4) mse <- (var(g1)+var(g2)+var(g3)+var(g4)+var(g5)+var(g6))/6 M <- (mean(g1)+mean(g2)+mean(g3)+mean(g4)+mean(g5)+mean(g6))/6 msb <- ((((mean(g1)-M)^2)+((mean(g2)-M)^2)+((mean(g3)-M)^2)+((mean(g4)-M)^2)+((mean(g5)-M)^2)+((mean(g6)-M)^2))/5)*20 chiNum[i] <- msb/mse } # plot a histogram of F statistics h <- hist(chiNum,plot=FALSE) ylim <- (range(0, 0.8)) x <- seq(0,6,0.01) hist(chiNum,freq=FALSE, ylim=ylim)...

  • I need help in MATLAB. I'm working on a circuits lab report and I want to...

    I need help in MATLAB. I'm working on a circuits lab report and I want to plot the derivative of an input signal. The circuit is a differentiator OpAmp. It is receiving a triangle wave as an input and should output a square wave. (I've included my existing code.) The output formula is: Vout = -(Rf)*C*(dVin/dt) Where Rf is feedback resistance: Rf = 1*10^6; and C = 1*10^-6. EXISTING CODE: %% This section is copied, and then modified from another...

  • Hi! Can someone please help me with the following question? If you can show all your...

    Hi! Can someone please help me with the following question? If you can show all your steps so I can understand the solution I would really appreciate it! Thanks :) ​​​​​​​ 2- Below you can find scores of a test: {56,67,67,70,73,73,75,76,77,79,80,81,83,83,85,87,88,89,92,93 } (a) Obtain a frequency distribution for the test. (The number of bins and intervals should be determined according to the rules in the class slides). (b) Draw a frequency histogram. (c) Use the frequency distribution to compute the...

  • Need help with question C. Please review calculations from part A and B and correlate it...

    Need help with question C. Please review calculations from part A and B and correlate it with question C. Thx ! Lab 2 -Spring 2019 Part 1: Mean and Median The mean and median are both measures of central tendencies ( Le. they are estimates of the center of the set of data). The mean is the arithmetic average. The median is the value such that half the data points lie below the points will lie below the median and...

  • transpo oprtn and logistics managment/ please use excel Problem 11. (10 marks) The accompanying data are the travel...

    transpo oprtn and logistics managment/ please use excel Problem 11. (10 marks) The accompanying data are the travel times (min) on an arterial street collected by ten test vehicles. Vehicle 5 6 7 1 2 3 4 9 10 16 10 1 22 Travel Time (min) 10 14 9 10 12 11 Use Excel for Analysis a. Calculate the values of the sample mean, median, and mode b. From the relative locations of the above summary statistics, can you conjecture...

  • Please help me answer theses. Thank you on me stuaernts resuits neau trie steps Deiow ald...

    Please help me answer theses. Thank you on me stuaernts resuits neau trie steps Deiow ald compiete each item. Suppose a professor gives an exam to a class of 40 students and the scores are as follows. (Open the Lab 7.2 data set in StatCrunch.) 1. 35 44 46 4747 48 49 51 53 54 55 55 57 57 57 58 59 5959 59 60 60 60 60 60 62 62 62 6468 69 7072 73 7375 75 77 82...

  • Using Matlab. The following calibration data are from a hot wire anemometer (HWA) velocity measurement system for air...

    Using Matlab. The following calibration data are from a hot wire anemometer (HWA) velocity measurement system for air flow: Air Velocity, V (m/s) HWA Output Voltage (E) 0.0 1.100 1. 1.1 1.362 2. 1.431 1.5 3. 1.487 2.0 4. 1.535 2.5 5. 1.576 6 3.0 1.647 4.0 7. 1.706 8. 5.0 1.780 9. 6.5 1.841 10. 8.0 1.910 10 11. 1.983 12. 13 13. 16 2.072 14. 20 2.159 15. 25 2.257 16. 32 2.379 17. 40 2.500 1. Perform...

  • I really need help with this problem! It’s part of a Math Modeling course. Please help!!!...

    I really need help with this problem! It’s part of a Math Modeling course. Please help!!! Simulation Problem 1: Rejection Sampling Consider the function 0 otherwise Use rejection sampling to create N-1000 r values distributed according to this pdf. For this problem, hand in the following items: 1. A short paragraph explaining why f(x) is the pdf for a continuous random variable. 5] 2. The source code or Excel worksheet used to do the rejection sampling. 0 3. A histogram...

  • MATLAB question: I have some data on excell and I have to write a code that...

    MATLAB question: I have some data on excell and I have to write a code that does the following: Please use dummy data for your convenience. Thank you in advance for your help! Read from Data_all.xlsx Sheet “Wave_data", your specific Wave Height (WH) measurements and using a "for loop" and "if-elseif-else" command, count the number of measurement in the following ranges: a. WH= 0 or 1 m b. WH=2 or 3 m c. WH=4 or 5 m d. WH=6 or...

  • I need help creating a Mean Filter for Matlab 3 by 3. ( I need the...

    I need help creating a Mean Filter for Matlab 3 by 3. ( I need the Actual Matlab WORking code) It's dude tomorrow, final project worth 40% of my grade. It can not use Matlab Function, must be user define fuction. So far what I have is, I am not sure how to start this, I was told it requires 2 for loops A= imread('lena_256.tif'); % Reads the image in matrix M = ones(3,3)/9; % Creates a matrix of 3...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT