Question

Plot surface/3D plots using airfoil points and span at different wing stations.

Hi, I want to plot a wing using airfoil points and span. Alot of sources are availible for this case but my problem is a bit di...

8 dagar ago | 0 answers | 0

Question

First variation of functional

Dear all, I am trying to find governing equations of Third-Order Beam Theory from its displacement field. For this, I need to f...

9 månader ago | 0 answers | 0

Question

Index of points which satisfy a given equation

Hellow everyone, I am working on a problem in which I have defined following variables: NodesAlongOneDirection = 10 x1 = 0; x...

11 månader ago | 0 answers | 0

Question

Order of boundary conditions in dsolve command

I have a set of three linear ODEs. The first ODE involves 2nd derivative of u_1(x_1). The second ODE involves 4th order derivati...

mer än ett år ago | 0 answers | 0

Question

Numerically integrating a symbolic expression

I am trying to integrate a matrix of symbolic entries in which all entries are function of x and y. This matrix is result of pre...

mer än ett år ago | 1 answer | 0

Question

Surface Plots on randomly distributed points

Dear All, I am trying to plot a 2D function z=f(x,y) on randomly distributed points using surf command. The code I have writt...

mer än ett år ago | 1 answer | 0

Question

How to modify figures programmatically?

I am trying to write a code which # Full screen the figure. # Plots the graph. # Change font size to 24. # Change line w...

nästan 2 år ago | 0 answers | 0

Question

Plotting a function over an interval

I am trying to plot a function in which one term is (2^(-1/a))*(1+x)^(1+1/a). When a is very small, for example a=10^-4 or even ...

nästan 2 år ago | 0 answers | 0

Question

How to display coordinates of points in "contourf"?

I have three matrices, X, Y, and Z. I am creating a filled contour plot using the command contourf(X,Y,Z) How can I disp...

nästan 2 år ago | 2 answers | 0

Question

Creating a matrix whose entries are matrix

Given a matrix A = [-4 1 0; 1 -4 1; 0 1 -4]; I want to create a matrix _B_ such that B = [A I 0; I B I; 0 I B]; ...

ungefär 2 år ago | 2 answers | 0

Question

How to make sure that ratios of very large numbers(e^1000+1)/(e^1000-1) is not given as NaN?

I am trying to plot a function T = (exp(x) + 1)/(exp(x) - 1) where x ranges from say -10000 to 10000. Since exp(x) will ...

ungefär 2 år ago | 2 answers | 0

Question

How to change for loop to parfor loop?

Is it possible to execute the following code using _parfor_ loop? for ii = 1 : 1 : N x_ref = X(ii); y_ref = Y(ii...

ungefär 2 år ago | 0 answers | 0

Question

Problem with MuPad assumptions

Consider the following lines of code. assume(h > 0) assume (`ν` > 0) assume (U > 0) Pe := U * h / (2 * `ν`) `&xi` ...

ungefär 2 år ago | 0 answers | 0

Question

Legend Error in Matlab 2014a

I am using Matlab 2014a on my school's PC. When I run the following code figure subplot(2,1,1); plot(1:N, E1,'--', 1:N, E2...

mer än 2 år ago | 0 answers | 0

Question

Conjugate of an Array Consisting of Symbolic Scalars

Let's assume that there is an array 8x1 array of symbolic scalars, which can be defined using h = sym('h',[8 1]); When...

mer än 2 år ago | 1 answer | 0

Question

How to simplify an expression in Mupad?

Hello everyone, I am trying to simplify an expression in MuPad. Assume u = (u_2 - u_1) * x + (u_2 + u_1) * y. Is there a way t...

mer än 2 år ago | 0 answers | 0

Question

Solving a linear system equations with variables on both sides

I am trying to solve a linear system of equation in which variables occur on both sides. Lu = [Lu1; Lu2; Lu3] A = [1 2 3...

mer än 2 år ago | 1 answer | 0

Question

Differentiation with respect to variable which has been changed to numeric type

Hello, consider the given expression. Here *x* and *y* are symbolic variables and *X* and *Y* are numeric matrices of same size....

mer än 2 år ago | 1 answer | 0

Question

Mesh Plotting in Matlab

Hello, I am trying to perform a simple finite element analysis. To create a mesh, I am using xArray = 0 : 0.1 : 1; yArray ...

mer än 2 år ago | 1 answer | 0

Question

Convert matrix in single column/row vector

Hi, I have to convert a matrix in one column/row vector composed of all the rows of the original matrix. How can I do this? Than...

mer än 2 år ago | 4 answers | 0

Question

Equation Manipulation in MuPad

Is there a way to simplify from Eq.(A) to Eq. B. <</matlabcentral/answers/uploaded_files/88162/Capture.JPG>>

nästan 3 år ago | 1 answer | 0

Question

How to add legends in graphs generated within a for loop.

I am writing a program in which graphs are generated within a for loop. How can I add legends for all the graphs. for jj ...

nästan 3 år ago | 1 answer | 0

Question

Determining frequecnies from plot

I am working on free response of a non-linear, 2 degrees of freedom vibration system. I have developed mathematical model and im...

ungefär 4 år ago | 1 answer | 0