Feeds
질문
Importing different plots onto one plot
I have a matlab code that prompts the user to enter specific details about an airfoil. then the user is able to plot different a...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
calculating the slope of a curve on a plot
I'm trying to calculate the slope of only one curve on a plot with many curves, then i want to calculate the percent error of th...
8년 초과 전 | 답변 수: 0 | 0
0
답변질문
Need help performing a Parametric Sweep...keep getting error
my code is below. I am trying to vary the constants r and K in the equation for M_spring. Then I want to plot M_spring vs R ...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
Performing a parametric sweep in Matlab
Hello, I have an equation for the motion of a spring. I need to perform a parametric sweep by varying two of the constants in th...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
error bars on plot
Hello. I am having trouble adding error bars to this plot. My code is below. I need the data "cd_water, re_water..cd_glycol, re_...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Trying to Calculate Node Displacement for a Truss using matrix
I am trying to calculate the node displacement of a Truss but my code is returning error. 'Unexpected matlab Function' in me f...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
importing data and plotting
Hello, I'm importing a large text file and trying to plot the values over time. but every time i go to plot the data I get the e...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Entering huge arrays of numbers...
I have a thermocouple problem I am working on. I am given a set of data that i need to enter into matlab before I can get starte...
거의 10년 전 | 답변 수: 3 | 0
3
답변질문
Having troubles with symbols in creating statespace model
here is my code and error: clc clear syms a L A = [-10 0 -10/a; 0 0 1;-6/a -70/a^2 -14.4/a^2]; B = [10 ;0 ;6/a]...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
Plot, graph a polynomial
here is my code. it keeps giving me errors t = 0:10:1000; x= {(3*sin(t) + 10*sin(t/10) + 500*sin(2*pi*t/1000))}; ...
대략 10년 전 | 답변 수: 2 | 0
2
답변질문
State Space, Finding Characteristic equation
Having trouble converting into state space. I also need to use matlab to produce the characteristic equation. here is my code ...
대략 10년 전 | 답변 수: 1 | 0
1
답변질문
Matrix multiplication using inv()
It says my dimensions don't agree....can anyone help me please B = [1 1 1 0;-.204 -.068 -4.36 1.6;.042 .005 16.45 -13.95; -...
대략 10년 전 | 답변 수: 2 | 0
2
답변질문
error message: Form of equation?
I keep getting an error in the command window. Here is my equation and error message: x = (1.2)*exp((-1/2)*t)*sin(3*t) + 5...
대략 10년 전 | 답변 수: 1 | 0
1
답변질문
Can someone help me with my programs logic?
I wrote this program which shows a graph in 4 subplots, each with a different view. then the program finds the min and max of th...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Using created functions to set up graph
My over all objective is to create 2 functions. the first being to set up plot title and axis labels(below), the second function...
10년 초과 전 | 답변 수: 0 | 0
0
답변질문
finding max and min of function graph
Having trouble with last part of code: finding max and min. here is my code: x = -10:1:10; y = x; [xGrid,yGrid] = mes...
10년 초과 전 | 답변 수: 0 | 0
0
답변질문
surface plots with different views
my objective is to create four surface plots of the same function in the same window. I can easily create the 4 subplots. my ...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
graphing only portions of data
I have 20,000 data points. my objective is to have 4 subplots. each with a different number of data points. subplot 1 has the ...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
having trouble creating fractal picture
Xsubk + 1 = Ysubk*(1 + sin(.7Xsubk) - 1.2*sqrt(|Xsubk|) Ysubk +1 = .21 - Xsubk for k = 1:1:19999 I'm not sure how to in...
10년 초과 전 | 답변 수: 0 | 0
0
답변질문
Investment HW problem help
Disclaimer: This is HW, but we are allowed to consult the Matlab forum for answers as long as they are cited. Thanks! A stud...
10년 초과 전 | 답변 수: 0 | 0
0
답변질문
creating upper and lower thresholds when graphing?
How do you create thresholds when graphing with red dotted lines.
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Command Line statements for a matrix
I'm having trouble setting up this code. My goal is to set up a 3x3 Matrix A. Then write command line statements to perform t...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
How do i Extract certain values from a list using a for loop and if statements
I have a list of student numbers and a list of absences...when student has 1 or 2 absences, trying to extract that student numbe...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
physics/projectile motion problem
Create a Matlab program to track the time, x position, y position, x velocity and y velocity of a projectile that is launched of...
10년 초과 전 | 답변 수: 0 | 0
0
답변질문
Need help with graphing program
Create a matlab program to compute the magnitude and phase angle of the impedance(Z) of an RLC series circuit. Given: R= 2...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Need help with conversion program
Need help creating a program that is capable of converting from cm or in or ft into units of cm or in or ft. If incorrect units ...
거의 11년 전 | 답변 수: 2 | 0
2
답변질문
plotting a graph of time vs gear...updated
based on V=1.5*t^2 a car has an auto-transmission that selects gear based on speed values. Gear1: >=0 and < 3m/s Gear...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
help with conversions (in/cm/ft)
Need help creating a program that is capable of converting from cm or in or ft into units of cm or in or ft. If incorrect units ...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
trouble plotting a graph
Trying to plot the speed of a car V=1.5*t^2 need to plot speed vs time
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
having trouble with for loops
Having Trouble... 'Sum of N^2 with N = 1 to 1,000 using a for loop'
거의 11년 전 | 답변 수: 3 | 0