Frage


Incorrect plot domain when using linspace
The plot generated by the following code should have a domain from 0 to 5 but instead each x value is multiplied by a factor of ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Finding x and y values of a point on a Simulink plot
I am trying to determine the x and y values of certain points on a Simulink temperature entropy plot. Normally when I hover over...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Modelling Open Circuit Test of Single Phase Transformer using Simulink
I am trying to model the open and short circuit tests using Simulink but certain blocks and objects are missing. For example, wh...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Format a matrix with entries displayed as exact values
I am trying to print a matrix with its entries displayed as exact values not fractional approximations. For example, the followi...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Using plot3 to plot 3d vectors
The following code is meant to plot the vectors (4,5,6), (-3,6,-3) and (1,2,3) directed from the origin. plot3([0 4], [0 5], ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Saving a file in Matlab R2020a
I recently installed Matlab R2020a on my Windows 10 laptop and whenever I create a script or function file and click "Run" I am ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Cannot call or index into a temporary array error message
I am trying to access the elements of a 1 by 2 variable that is defined by a function handle, p2r, but when I define a separate ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Solving a system of equations involving complex numbers
The following code outputs a value for a and b with respect to the imaginary number i but the output is not fully simplified wit...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Simplifying solution to algebraic system of equations
The following code outputs a value for a and b with respect to the imaginary number i but the output is not fully simplified wit...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Solving a symbolic equation in one or more variables
When the following code is executed, the output is ans = Empty sym: 0-by-1 although b = i = yp = [1 90] I get the same re...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Defining a symbol to perform a specified operation
Is there a way, for example, given two numbers a and b I can either use a function or define a symbol, say %, such that a%b = (a...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Phasor representation of complex numbers
Instead of typing (3+4i)*(i), how can I multiply two complex numbers in phasor form, in this case (5∠(arctan(4/3))*(∠90), and ...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Changing where divisions appear on a Matlab plot
The following code generates a plot in which the scale divisions appear at the edges of the plot but they do not coincide with t...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Improving readability of Matlab graph
The plot generated by the following code appears with the ticks labelled 1 to 25 for the x axis and 0 to 20 for the y axis. I wa...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Unexpected output when trying to plot the solution to a system of nonlinear differential equations
The following Matlab code is meant to plot x(1) vs time and x(2) vs time separately, but only plots x(1) vs time. Despite there ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Plotting the solution to a system of second order differential equations
I am having difficulty interpreting the plots generated by the following code. Is there a way I can generate a single plot inste...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Plotting angular position versus horizontal position of a composite body and labeling specific points
I am trying to graph the solution to a system of differential equations. The following code graphs four functions, but they are ...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Adding a redundant equation to a system of algebraic equation that generates inconsistent output
In a dynamics problem I am working on, two different systems of equation that describe the motion of a body are both correct and...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Simplified solution to system of algebraic equations
The following code solves the system of equations for x, but the solution could be further simplified, for example, by factoring...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Symbolic solution to a system of algebraic equations
I get an error message stating "Reference to non existent field b" when I try to solve for b in the following system of algebrai...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Symbolic solution to a system of equations
Can Matlab solve a system of equations like a+b=c, b=2c symbolically for b and c? The output should be c=-a, b=-2a

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Symbolically Solving a multi-variable system of three equations for three variables
How can I find symbolic solutions for a,b, and c expressing them with respect to the other variables using the system of equatio...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Solving a system of second order differential equations
I get the following error message when I run the code below (although this error does not always occur; sometimes the plot is ge...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Finding the closed form solution to a system of second order differential equations
I am trying to find the closed form solution to a system of differential equations but I am unsure how to access the closed form...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Finding the solution to system of Differential equations
I am trying to graph the solution to the following system of differential equations and finding the closed form solution using f...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Graphing and finding the closed form solution to a system of differential equations
I am trying to graph the solution to the following system of differential equations and finding the closed form solution using f...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Describing the motion of a composite body using system of differential equations
I am trying to solve a system of differential equations analytically using the following code, but although they correctly descr...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Describing the motion of a composite body using system of second order differential equations
I am trying to graph the solution to the following system of differential equations. t''= t'^2(tan(t)) - x''(4sec(t)) t'^2 (...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


System of Second order order differential Equations referencing the 0th derivative
The following code refers to the system of differential equations in which only the first and second derivatives are included....

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


System of nonlinear equations
I have tried the following code to solve a system of nonlinear equations, but it does not return the correct result which can be...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden