Community Profile # Rick

Active since 2014

Engineering Student learning MATLAB

#### Statistics

• • #### Content Feed

View by

Question

Linux installation error going through wizard
Hello, When I am installing matlab and going through the wizard, once I choose the installation file I end up getting this er...

4 years ago | 0 answers | 0

### 0

Question

Displaying string with variables
Hello, I'm trying to make a function that tell me the coefficients x,y, and z for a given n,a,b,c,d CnHaObNcSd + xH2O ---> y...

6 years ago | 0 answers | 0

### 0

Question

PID block with filter time constant
Hello, I am working on a homework problem Consider a first-order + dead time process with the following transfer function...

6 years ago | 0 answers | 0

### 0

Question

Transfer function display works in command window but not published file
Hello, I just ran my script file for my transfer function and it worked out just fine in the command window, now when I publi...

6 years ago | 1 answer | 1

### 1

Question

Changing fraction to decimal form
Hello, I am trying to change my fractions to numbers, but when I use the eval() function, it won't do it V = 50; % ...

6 years ago | 1 answer | 0

### 1

Question

Simulink PID controller apparently doing nothing

6 years ago | 1 answer | 0

### 1

Question

Initial condition of output with simulink

6 years ago | 1 answer | 0

### 1

Question

Jacobian function and derivative that is a fraction
Hello, I'm trying to use the Jacobian function to find the matrices to linearize my two equations <</matlabcentral/answers...

6 years ago | 1 answer | 0

### 1

Question

Simulink transfer function with non-integer coefficient
Hello, If I want to choose a transfer function that is not a coefficient, how do I input this in the transfer block on simulin...

6 years ago | 0 answers | 0

### 0

Question

ODE 45 with matrices
Hello, I am trying to solve a system of differential equations with ode 45. basically, my vectors should be x_dot = Ax + Bu ...

6 years ago | 2 answers | 0

### 2

Question

LaTeX matrix when publishing
Hello, I'm trying to publish some latex, and for some reason it is not accepting my matrix. I have tested on another site an...

6 years ago | 1 answer | 0

### 1

Question

Formatting indentation when publishing a document
Hello, I want to indent some text to the right side when I publish a document, but it automatically goes to the left. How can...

6 years ago | 0 answers | 0

### 0

Question

Solving linear system of equations
Hello, I want to solve a system of linear equations, but there is a slight twist in the equation (i.e. not every one is writ...

6 years ago | 2 answers | 0

### 2

Question

Nonlinear equation solver issue
Hello, I have an equation N = (DP/RT * ln(P/(P-P*)))/(L/A) + (l/a)) P,R,T,P*,(L+l), and A are known. L+l is always .05 ...

7 years ago | 1 answer | 0

### 1

Question

Multiple ODE's that are coupled
Hello, I attached a PDF of the coupled ODE's that I am trying to solve. I can make a function that runs, but I don't get the ...

7 years ago | 0 answers | 1

### 0

Question

Coupled ODE with ode45
Hello, I am trying to solve these two coupled differential equations, but I can't seem to get it to work. I always have difficul...

7 years ago | 3 answers | 0

### 3

Question

polyfit and R^2 value
Hello, Is there a way to show the R^2 value when fitting a curve to data with polyfit? I know if I have two outputs, I get a ...

7 years ago | 3 answers | 0

### 3

Question

Finding slope and y intercept
Hello, I was wondering if there is an easy way to find the slope and intercept of a line using MATLAB, like how it is so easy wi...

7 years ago | 3 answers | 0

### 3

Question

Two ordinate axes on a single plot
Hello, I'm trying to reduplicate this plot on MATLAB. I see that the scale of the two different y-axes needs to be very diffe...

7 years ago | 3 answers | 0

### 3

Question

ode45 with boundary conditions
Hello, If I have boundary conditions such as at x = 0, the temperature is T1, and at x = L, temperature is T2, how do I incor...

7 years ago | 2 answers | 0

### 2

Question

Scaling axes on plot
Hello, I am trying to make plots that are the same as the two plots at the bottom of this page http://www.umich.edu/~element...

7 years ago | 1 answer | 0

### 1

Question

Numerical integration trapz for certain interval
Hello, I have some data rA = [-0.2 -0.0167 -0.00488 -0.00286 -0.00204]; X = [0 0.1 0.4 0.7 0.9]; and I made a plot...

7 years ago | 1 answer | 0

### 1

Question

Equation of nonlinear data
Hello, If I have data rA = [-0.2 -0.0167 -0.00488 -0.00286 -0.00204]; X = [0 0.1 0.4 0.7 0.9]; and I plot ...

7 years ago | 2 answers | 0

### 2

Question

ODE45 problem with concentration of CO
Smog begins to build up again immediately after a Santa Ana wind passes through the basin. The volumetric flow rate through the ...

7 years ago | 1 answer | 0

### 1

Question

Area under curve (no function)
Hello, If I have a set of data such as X = [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.85]; rA = [-.0053, -.0052, ...

7 years ago | 2 answers | 5

### 2

Question

ODE45 what to put into the function argument
Hello, In a file a have an attachment to a problem of modeling a pendulum. It has a format in the code that I have to follow ex...

7 years ago | 1 answer | 0

### 1

Question

Entering values into a function handle output
Hello, I have a function, and I can calculate P from the command window, but when I use this function, my output yh has P(1), P(...

7 years ago | 1 answer | 0

### 1

Question

Binary to decimal using recursion
Hello, I'm trying to figure out how to write a function that will convert binary to decimal using recursion. BA is a 1 x n array...

7 years ago | 1 answer | 0

### 1

Question

Recursive binary to decimal function
Hello, I'm trying to write a function that will convert binary to decimal using recursion, but I am having difficulty getting th...

7 years ago | 1 answer | 0