Statistics
27 Questions
0 Answers
RANK
35.054
of 295.467
REPUTATION
1
CONTRIBUTIONS
27 Questions
0 Answers
ANSWER ACCEPTANCE
55.56%
VOTES RECEIVED
1
RANK
of 20.234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153.912
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Problems with matrix dimensions not agreeing
I am having issues with my matrix dimensions and getting this error in my code: Error using / Matrix dimensions must a...
bijna 10 jaar ago | 1 answer | 0
1
answerQuestion
How do you plot a differential equation?
I have the differential equation dy/dx = (x-5*y)*e^-x where y = 1 when x = 0. I need to plot this from x = 0 to x = 10. How do I...
bijna 10 jaar ago | 1 answer | 0
1
answerQuestion
How do you solve a nonlinear ODE with Matlab using the finite difference approach?
I have done this with a linear ODE which had the equation x''+(c/m)*x'+(g/L)*x = 0 where x(0) = pi/6 and x'(0) = 0 %Method ...
bijna 10 jaar ago | 2 answers | 0
2
answersQuestion
How do you solve a nonlinear ODE with Matlab using ode45?
I have done this with a linear ODE which had the equation x''+(c/m)*x'+(g/L)*x = 0 where x(0) = pi/6 and x'(0) = 0 This is th...
bijna 10 jaar ago | 1 answer | 0
1
answerQuestion
How do you put in a range of values into a variable of a matrix?
I have a simple question. How do you put in a range of values into a variable of a matrix? I tried doing this code below: ...
bijna 10 jaar ago | 1 answer | 0
1
answerQuestion
Question about using fzero to find all real roots of a polynomial
I have the polynomial y = x^7-4.75*x^6+10.875*x^5-20.125*x^4+20*x^3+1.75*x^2-30*x+25 and I want to find not just one real root, ...
ongeveer 10 jaar ago | 2 answers | 0
2
answersQuestion
Troubleshooting with fzero command.
I have a function file and a script file that I am trying to work together in which I am trying to define an implicit equation. ...
ongeveer 10 jaar ago | 0 answers | 0
0
answersQuestion
Why is my second plot only coming up when I run the program?
I have a function file and script file that both work well together, but out of the two plots I am trying to show when I run the...
ongeveer 10 jaar ago | 1 answer | 0
1
answerQuestion
How to call a function properly.
I want to take a function file and call it into my script. I have this function: function ff = fCW() F = @(f...
ongeveer 10 jaar ago | 1 answer | 0
1
answerQuestion
Help with Colebrook equation and fzero command.
I am trying to do a problem with the colebrook equation in which I have to find the roots of the equation to find "f". I am tryi...
ongeveer 10 jaar ago | 1 answer | 0
1
answerQuestion
Problems with using a loop structure within an fzero command.
I have a file which uses the fzero command and works just fine as it gives me values of x when Re is chosen. See below: F =...
ongeveer 10 jaar ago | 1 answer | 0
1
answerQuestion
How to use the convolution method to multiply all linear factors together to find a new polynomial
I have the polynomial: f(x) = x^7 - 4.75x^6 + 10.875x^5 - 20.125x^4 + 20x^3 + 1.75x^2 - 30x + 25 I need to use the convolutio...
ongeveer 10 jaar ago | 1 answer | 0
1
answerQuestion
Trying to find root of equation with fzero command in Matlab.
I want to solve a problem in which I am given a function (seen below) where W is 4.9 and I must find v. I have to use the fzero ...
ongeveer 10 jaar ago | 1 answer | 0
1
answerQuestion
Trying to find root of equation with fzero command in Matlab.
I want to solve a problem in which I am given a function (seen below) where W is 4.9 and I must find v. I have to use the fzero ...
ongeveer 10 jaar ago | 2 answers | 0
2
answersQuestion
Help with Colebrook equation and f zero command.
I am trying to do a problem with the colebrook equation in which I have to find the roots of the equation to find "f". I am tryi...
ongeveer 10 jaar ago | 2 answers | 0
2
answersQuestion
Finding a value in an Implicit Function
I have a Function below of which I am trying to find the independent variable (x) when I am given the dependent variable (W) of ...
ongeveer 10 jaar ago | 0 answers | 0
0
answersQuestion
Problem using the Secant Method
I want to solve a problem in which I am given a function (seen below) where W is 250 and I must find x. I have to use the seca...
ongeveer 10 jaar ago | 1 answer | 0
1
answerQuestion
Simple Question: How do you change the number of decimals of a number inside of a legend so it has more decimal places? (Please view Attachment!)
%I want to display numbers such as .0254 in my legend as opposed to 0.2. How do I change that? %Some of my Script below: ...
ongeveer 10 jaar ago | 1 answer | 0
1
answerQuestion
Trouble plotting 2D and 3D models of data.
%I am having trouble plotting both 2D and 3D graphs on Matlab. I am confident that my variables (as far as I know) are working j...
ongeveer 10 jaar ago | 1 answer | 0
1
answerQuestion
Help writing two equations in Matlab (Please view Attachment)
I have two equations and I want to loop a value for 'n' from 1 to 50. I want to put these equations in so that Ln (equation 1) i...
ongeveer 10 jaar ago | 0 answers | 0
0
answersQuestion
I am having trouble finding the values for a certain variable which contains the "cosh(x)"
% I am having problems with my variable Bn(n) because everytime I try to evaluate it, I get a bunch of zeros with only the first...
ongeveer 10 jaar ago | 1 answer | 0
1
answerQuestion
How do I fix my elements in my code so that they can be the same?
%I keep getting the error of 'In an assignment A(I) = B, the number of elements in B and I must be the same.' I believe the pro...
ongeveer 10 jaar ago | 1 answer | 0
1
answerQuestion
How do you do a derivative with a certain value?
My initial equation is f(x) = (3*x^5)-(x^3)+(2*x^2)+4 and when I derive that, I get f'(x)=15*x^4 - 3*x^2 + 4*x. How do I evaluat...
ongeveer 10 jaar ago | 2 answers | 1
2
answersQuestion
How do you find the maximum error in series?
clear all, close all %Case 1: Find FN for N (being a value based on a user's input) FN = 0; x=.75; prompt = 'Wha...
ongeveer 10 jaar ago | 0 answers | 0
0
answersQuestion
How do you import multiple files into Matlab and graph the data into one plot?
The data I have comes from 7 files. One of them is named: fan7v.dat It looks like this: Fan running at 7 volts cfm...
ongeveer 10 jaar ago | 0 answers | 0
0
answersQuestion
I want to write a Matlab function with 'h' and 'V' as vectors to determine the fluid volume of a tank, but I have a problem with the function. The error is in the body of the question. Can someone help me?
function V = hstank2(h,r,hcl) r=0.40; hcl=1.2; Nh = 41; h=linspace(0,(2*r+hcl),Nh); V = zeros(size(h)); i= (h>=0)&&(h<=r); V...
ongeveer 10 jaar ago | 1 answer | 0
1
answerQuestion
I am having trouble with the menu and switch case command because every time I try to get an answer for pressure, I get 5 answers in a matrix instead of one. Does anyone know what I am doing wrong?
clear all, close all, nfig = 0; choice = menu('Choose a gas.','Helium Gas','Hydrogen Gas','Oxygen Gas',... 'Chlori...
ongeveer 10 jaar ago | 1 answer | 0