39 Answered Questions for the topic MATLAB

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

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

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 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

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 ?

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

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

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 ?

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

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

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

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 - 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
Matlab C Python Simulink

07/12/19

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

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
Matlab Random Simulink

05/19/19

Uniform Random Number blocks in my simulation model?

I've used 2 Uniform Random Number blocks in my simulation model, but every time I run the program they generate last numbers (exactly the same). I need to test the model with new generated numbers.... more

Numerical Integration of area defined by set of coordinates?

Suppose you have a general shape defined by a bunch of coordinate points that form something that looks like a circle, ellipse, or general closed curve - how do you find the area bounded by these... more

04/23/19

creating random numbers that favor smaller numbers?

say i generated a set of random numbers and put them into an array, (pre-sorted for simplicity) i'll use javascript to show the math: var vals = new... more

04/23/19

Derivative of sigmoid?

I'm creating a neural network using the backpropagation technique for learning. I understand we need to find the derivative of the activation function used. I'm using the standard sigmoid... more

Adjust White balance?

I'm looking at some image processing algorithms for white balance manipulations. Seems like a previous Stackoverflow [question](https://stackoverflow.com/questions/1175393/white-balance-algorithm)... more

08/31/17

Game Theory in matlab

How to solve game theory matrix 2x2 by matlab

07/08/17

Deleted MATLAB files plzzz help

I am doing m tech and I have to submit my thesis and MATLAB files oh till tomorrow and my all MATLAB files are deleted pllzzzzzz help from where can I get those files back   Plzzz help  From... 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.