Browse W
Alphabetical listing with fast deep pagination.
66619 items • Page 954 / 1333
Write a MATLAB program that implements the least-square regression for the singl
Write a MATLAB program that implements the least-square regression for the single-variable polynomial model f=a0+a1x+a2x2 +...+anxn? given a set of data [x] and [y] of some length…
Write a MATLAB program that loads two matrices A and B from the files hw41matA.t
Write a MATLAB program that loads two matrices A and B from the files hw41matA.txt andhw41matB.txt and multiplies them together to obtain matrix C such that the element C(i,j) ofm…
Write a MATLAB program that produces a numerical solution of an ordinary differe
Write a MATLAB program that produces a numerical solution of an ordinary differential equation. This will involve the following steps: Discretize the domain of the ODE into n inte…
Write a MATLAB program that prompts the user for a starting value and an ending
Write a MATLAB program that prompts the user for a starting value and an ending value. They each can be positive or negative. Prompt the user for a number of elements to use in an…
Write a MATLAB program that provides the following functions with respect to a d
Write a MATLAB program that provides the following functions with respect to a deck of cards: (Note, cards should be represented using the numbers 1-13 and the letters 'S', 'H', '…
Write a MATLAB program that reads in an mp3 file. The file should be approxomate
Write a MATLAB program that reads in an mp3 file. The file should be approxomately 10 seconds long. The data vector should then be filtered using the Overlap & Add method (see…
Write a MATLAB program that reads in an mp3 file. The file should be approxomate
Write a MATLAB program that reads in an mp3 file. The file should be approxomately 10 seconds long. The data vector should then be filtered using the Overlap & Add method (see…
Write a MATLAB program that takes a sequence of numbers representing pins knocke
Write a MATLAB program that takes a sequence of numbers representing pins knocked down in a 10 frame game of bowling and generates the score according to the rules of bowling. The…
Write a MATLAB program that uses the input function to prompt the user for an ar
Write a MATLAB program that uses the input function to prompt the user for an array of 4 values (warn the user to enter the numbers as an array) and store them in an array variabl…
Write a MATLAB program that will compute a weighted average of an array of data.
Write a MATLAB program that will compute a weighted average of an array of data. The program should take a row vector of weights w = [wn,wn-1,...,w2,w1] and a row vector of data x…
Write a MATLAB program that will perform the following operations on a 1D array
Write a MATLAB program that will perform the following operations on a 1D array of data v. Make sure to preallocate space for all your resulting arrays. Create the array v = [-13.…
Write a MATLAB program to compute an approximation of the infinite series for si
Write a MATLAB program to compute an approximation of the infinite series for sigma_n = 1^infinity 1/n(n + 1) for N = 35 two ways. The N term partial sum of the infinite series is…
Write a MATLAB program to compute an approximation of the infinite series for_n=
Write a MATLAB program to compute an approximation of the infinite series for_n=1^infity1/n(n+1) for N term partial sum of the infinite series is_n+1^n 1/n(n+1) Using element by e…
Write a MATLAB program to compute the sum of two 2-D vectors. You will prompt th
Write a MATLAB program to compute the sum of two 2-D vectors. You will prompt the user to input the x and y components of two vectors (four inputs). Then your program will compute…
Write a MATLAB program to compute the sum of two 2-D vectors. You will prompt th
Write a MATLAB program to compute the sum of two 2-D vectors. You will prompt the user to input the x and y components of two vectors (four inputs). Then your program will compute…
Write a MATLAB program to create a SINGLE MATRIX of characters as shown below. T
Write a MATLAB program to create a SINGLE MATRIX of characters as shown below. The generated matrix MUST include a single space character for columns 2 and 6 1 ABC DEF 2 ABC DEF 3…
Write a MATLAB program to create a SINGLE MATRIX of characters as shown below. T
Write a MATLAB program to create a SINGLE MATRIX of characters as shown below. The generated matrix MUST include a single space character for columns 2 and 6 1 ABC DEF 2 ABC DEF 3…
Write a MATLAB program to determine whether or not a number is a prime number. A
Write a MATLAB program to determine whether or not a number is a prime number. A prime number is a number only divisible by 1 and itself. Therefore you want to write code to make …
Write a MATLAB program to find the roots of a second order polynomial equation o
Write a MATLAB program to find the roots of a second order polynomial equation of the form ax^2 + bx + c = 0. Recall that the quadratic equation can be used to find the roots as f…
Write a MATLAB program to find the tensile strength (sigma_j) at t_i = 30 by fit
Write a MATLAB program to find the tensile strength (sigma_j) at t_i = 30 by fitting a function to A. Using linear last-squares regression (Regress.m). The input parameters are a_…
Write a MATLAB program to find the tensile strength (sigma_t) at t_l = 30 by fit
Write a MATLAB program to find the tensile strength (sigma_t) at t_l = 30 by fitting a function to Using linear least-squares regression (Regress.m). The input parameters are t, s…
Write a MATLAB program to generate and save the following signal in file x4.wav.
Write a MATLAB program to generate and save the following signal in file x4.wav. Plot a section of the generated signal. x4(n)-02sin(2nfnT), n = 0, 1, 1023 where, f-1000Hz, and T-…
Write a MATLAB program to graph current, i(t), in amperes versus time, t in seco
Write a MATLAB program to graph current, i(t), in amperes versus time, t in seconds, for the function i(t) = 50e^(-2t)sin(4t) from t = 0 to 2.5 using about 100 points. Specific re…
Write a MATLAB program to implement Digital Modulation techniques (ASK, FSK, PSK
Write a MATLAB program to implement Digital Modulation techniques (ASK, FSK, PSK). (Refer to Figure 2 above) If the input is 1 then: ASK/FSK/PSK: A sinusoidal signal with low freq…
Write a MATLAB program to implement Digital Modulation techniques (ASK, FSK, PSK
Write a MATLAB program to implement Digital Modulation techniques (ASK, FSK, PSK). (Refer to Figure 2 above) If the input is 1 then: ASK/FSK/PSK: A sinusoidal signal with low freq…
Write a MATLAB program to prompt the user to enter a value of x and y correspond
Write a MATLAB program to prompt the user to enter a value of x and y corresponding to the (x, y) coordinates of a point in the Cartesian coordinate system. The program should the…
Write a MATLAB program to read in a JPEG file, make the following transformation
Write a MATLAB program to read in a JPEG file, make the following transformations, and then display the result. 1. Determine the top 25% of the brightest pixels, and make each one…
Write a MATLAB program to simulate a bungee jump for a bungee jumping equipment
Write a MATLAB program to simulate a bungee jump for a bungee jumping equipment company. A new bungee cord is made of highly specialized rubber with a linear stress vs strain rati…
Write a MATLAB program to simulate a game that can: 1. Use five (5) 6-sided dice
Write a MATLAB program to simulate a game that can: 1. Use five (5) 6-sided dice to play the Stuck in the Mud game for any player, from rolling five (5) dice to all five (5) dice …
Write a MATLAB program to simulate the Stuck in the Mud game that can: 1. Use fi
Write a MATLAB program to simulate the Stuck in the Mud game that can: 1. Use five (5) 6-sided dice to play the Stuck in the Mud game for any player, from rolling five (5) dice to…
Write a MATLAB program to simulate the Stuck in the Mud game that can: 1. Use fi
Write a MATLAB program to simulate the Stuck in the Mud game that can: 1. Use five (5) 6-sided dice to play the Stuck in the Mud game for any player, from rolling five (5) dice to…
Write a MATLAB program to simulate the Tenzi game automatically that can: Use te
Write a MATLAB program to simulate the Tenzi game automatically that can: Use ten (10) 6-sided dice to automatically play the Tenzi game for one player. Generate ten (10) random i…
Write a MATLAB program to simulate the Tenzi party game automatically that can P
Write a MATLAB program to simulate the Tenzi party game automatically that can Play Tenzi for multiple players simultaneously and automatically Ask the game host to input how many…
Write a MATLAB program to simulate the following experiments. (a) Draw a dice 10
Write a MATLAB program to simulate the following experiments. (a) Draw a dice 100 times. That is, generate a sequence of 100 random numbers from the set 1,... ,6) Call this sequen…
Write a MATLAB program to simulate the following experiments. (a) Draw a dice 10
Write a MATLAB program to simulate the following experiments. (a) Draw a dice 100 times. That is, generate a sequence of 100 random numbers from the set {1, . . . , 6}. Call this …
Write a MATLAB program to simulate the following experiments. Draw a dice 100 ti
Write a MATLAB program to simulate the following experiments. Draw a dice 100 times. That is, generate a sequence of 100 random numbers from the set {1, ..., 6}. Call this sequenc…
Write a MATLAB program to solve N simultaneous equations. Include comments in yo
Write a MATLAB program to solve N simultaneous equations. Include comments in your program, including name, course, filename, description of the assigned problem, and explanations…
Write a MATLAB program to solve the following X-Sudoku: Solution function X = su
Write a MATLAB program to solve the following X-Sudoku:
Write a MATLAB program to solve the following X-Sudoku: Solution function X = su
Write a MATLAB program to solve the following X-Sudoku:
Write a MATLAB program to translate the Morse code of text messages back into pl
Write a MATLAB program to translate the Morse code of text messages back into plain texts. Code: input_str= input ('Enter MorseCode:') input_str= strrep(input_str, '',',') input_s…
Write a MATLAB program to: Prompt the user to enter numeric grades (one at a tim
Write a MATLAB program to: Prompt the user to enter numeric grades (one at a time) within a while loop. Any number ol grades can be entered. Determine the number of grades in each…
Write a MATLAB program to: Prompt the user to enter numeric grades (one at a tim
Write a MATLAB program to: Prompt the user to enter numeric grades (one at a time) within a while loop. Any number ol grades can be entered. Determine the number of grades in each…
Write a MATLAB program to: Prompt the user to enter numeric grades (one at a tim
Write a MATLAB program to: Prompt the user to enter numeric grades (one at a time) within a while loop. Any number of grades can be entered. Determine the number of grades in each…
Write a MATLAB program. Generate 10 10x10 random square matrices. Verify that th
Write a MATLAB program. Generate 10 10x10 random square matrices. Verify that the product of each of the matrices and its eigenvectors equals the product of its eigenvectors and t…
Write a MATLAB proigram to find the overall transfer function if the system is c
Write a MATLAB proigram to find the overall transfer function if the system is connect as follows. Make comments for each step. G1 = tf([0 10],[1 1]); G2 = tf([0 1],[0 1]); G3 = t…
Write a MATLAB script (Classic program) that will play the following simple dice
Write a MATLAB script (Classic program) that will play the following simple dice game. The following is repeated until the player choices to quit - via a user validation loop. The…
Write a MATLAB script (Classic program) that: Prompts it user to enter a valid I
Write a MATLAB script (Classic program) that: Prompts it user to enter a valid Integer literal Reads what the user types(unevaluated) into a string variable. Determine if the stri…
Write a MATLAB script (Classic program) that: Prompts it user to enter a valid I
Write a MATLAB script (Classic program) that: Prompts it user to enter a valid Integer literal Reads what the user types(unevaluated) into a string variable. Determine if the stri…
Write a MATLAB script (Classic program) that: Prompts it user to enter a valid I
Write a MATLAB script (Classic program) that: Prompts it user to enter a valid Integer literal Reads what the user types (unevaluated into a string variable Determines if the stri…
Write a MATLAB script (M-File) to calculate pi number using MATLAB random number
Write a MATLAB script (M-File) to calculate pi number using MATLAB random number generator rand(). Consider the circle and the square in the below figure. If N random points (with…