74 Answered Questions for the topic MATLAB
Matlab
08/26/21
Write the codding for summation of this series
1+4+7+10+……..n 1*2+2*3+3*4+4*5+…….+n*(n+1)20+22+24+……+30
Matlab
06/28/21
Matlab simulation
Question : Find the maximum of the function f = −2x5 +4.2x4 +2x3 - x2 +20x − 5 in the range −8 ≤ x ≤ 10 using the Particle Swarm Optimization method. Use 4 particles with the initial positions x1 =...
more
Matlab
03/16/21
Rewrite the following pseudocode using proper indentation
STARTy=0x=y+1READ zIF z > 50 THENx = x + 5IF x > 5 THENy = xELSEy = 0ENDIFENDIFz = x + ySTOP
Matlab
03/06/21
MATLAB Help Please
Please help with how to use MATLAB to solve 1b and 1c:Suppose that the distance of fly balls hit to the outfield (in baseball) is normally distributedwith a mean of 250 feet and a standard...
more
Matlab
02/22/21
I need help coding in a beginners class of Matlab.
How do I write a program taking two numbers a and b from user, where a<b. Use a for loop to count and print the numbers of odds, evens, and multiples of three between a and b (including a and b)...
more
Matlab
02/17/21
Curves and surfaces Computer Graphics
Create a surface which looks like a vase using parametric spline curves. For this purpose:1. Use parametric spline equation of your wish to create a curve.2. Rotate the curve along X or Y axis to...
more
11/18/20
Help!! How to solve these matlab problems?
Problem1:Enter the following data into the Matlab command window.A=[02: 1 4];B=[1 3; 2 6]:What is A*B? What is A.*B?What does A.^-I produce verses A^-1?Problem3:Given the matrix: M=[1 1; 1 3;]; Use...
more
11/17/20
How to write or solve these problems in matlab?
Problem1:Enter the following variables into your command window:A=[1 2 3:];B=[1:2:3];Can you subtract A from B?Can you add A to A?Problem2: Enter the following data into the Matlab command...
more
Matlab Computer Science
11/06/20
Make a Matlab slider GUI
Question: Provide a SliderGUI with an additional button and edit text box with the following:If sliderbar > 5 make the background color of the ColorButton red and have the edit box say something...
more
06/05/20
Matlab question
a) Write a MATLAB script that fits a straight line and to the data set given below and plots the given data as points(o) and fitted data as a line.d |15.5 33.07 53.39 140.24 301.03...
more
06/05/20
Matlab question
Let "f(x) = x^2 +x - 960"Write a MATLAB script that finds a root of the user-defined function using bisection method and gives the tabulated results in a .txt file.How can I solve this pleae ?
06/05/20
Matlab question NEED FOR HELPPP!!
Write a MATLAB function to solve the system of linear equations given below using matrix division. Make r an input to the function and x will be the output. ⌈ 5 2r r ⌉ { x1 } ...
more
06/05/20
Matlab question for professionals
a) Write a MATLAB script that fits a straight line and to the data set given below and plots the given data as points(o) and fitted data as a line.d |15.5 33.07 53.39 140.24 301.03...
more
06/05/20
Matlab question in complicated way..
Let "f(x) = x^2 +x - 960"Write a MATLAB script that finds a root of the user-defined function using bisection method and gives the tabulated results in a .txt file.How can I solve this pleae ?
11/21/19
Euler with step hand written and Matlab solution
A biological process includes the growth of biomass (B) from substrate (S). The material balances on this batch process yield:where B and S are the respective biomass and substrate concentrations....
more
Matlab Computer Science
11/05/19
Calculating Derivatives in MATLAB
PLEASE USE MATLABMy project is supposed to use Matlab and let the user type in any function and the output is the derivative of the function inputed. Please copy and paste your code... I am...
more
10/30/19
Question is in description. About writing a MATLAB code
USING MATLABWrite a program that creates a table showing the conversion from Yen too Pesos. Your program should be able to print a user specified number of lines showing the value of the Yen in one...
more
07/19/19
Determine the Number of People that attended the game in Each Category Cost and the Total Revenue.
A Football stadium has 100,000 seats. In a game with full capacity people with the following ticket and associated cost attended the game: Cost:Student - 25Alumni - 50 Faculty - 75Public -...
more
07/12/19
load .mat file in simulink from python hdf5storage library?
I am trying to load/read some random data in simulink I created using the Python module `hdf5storage`.
I created `.mat` file in Python (simulink supports version 7.3 only) using this code:
#...
more
07/12/19
MATLAB Engine API for Python: changing parameters of the running simulation?
I am using the `MATLAB Engine API for Python`. I have a shared engine in a Python script and then another Python script connected to this shared engine. I would like to ask whether it is possible...
more
Matlab - Iterating through an array and appending to a new one?
I got an array that is a audio recording, and I'd like to add some noise on it so later I can remove it in Simulink and compare the original to the one that I removed the noise.
My problem is that...
more
I would like to be able to compare values in one CSV with a nominal set of values in another?
I have been given the task of injecting faults into a system and finding deviations from a norm. These deviations will serve as the failures of the system. So far we've had to detect these faults...
more
Create a python script to simulate a Matlab file and store results?
I have recently started working as a student assistant and I have to write a script in Pycharm (python) which is something new for me.
My task is to write a python script which takes a Matlab file...
more
05/27/19
Use Matlab Raspberry PI Support Package function in Simulink as Matlab Function Block?
I'm new to Matlab and Simulink and I need to get a simulation run on the Raspberry PI. For interaction I use the Raspberry PI Support Package of Matlab. I use the following code to open the...
more
05/27/19
Tuning and optimizing a MATLAB/Simulink Model?
I would like to optimize output signals, by tuning some of the input parameters with ease (preferably in real-time) by looping the simulation of the model again and again at a speed where the speed...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.