Community Profile

# Ali Baig

##### Last seen: 6 months ago
24 total contributions since 2016

View details...

Contributions in
View by

Question

Accessing entries of symfun
I am trying to solve a structural mechanics problem for which I have defined clear all close all clc syms psi(x_1, x_2, ...

7 months ago | 3 answers | 0

### 3

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...

12 months ago | 0 answers | 0

### 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...

1 year ago | 0 answers | 0

### 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...

2 years ago | 0 answers | 0

### 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...

2 years ago | 0 answers | 0

### 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...

2 years ago | 1 answer | 0

### 1

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...

2 years ago | 1 answer | 0

### 1

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...

3 years ago | 0 answers | 0

### 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 ...

3 years ago | 0 answers | 0

### 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...

3 years ago | 2 answers | 0

### 2

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]; ...

3 years ago | 2 answers | 0

### 2

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 ...

3 years ago | 2 answers | 0

### 2

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...

3 years ago | 0 answers | 0

### 0

Question

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

3 years ago | 0 answers | 0

### 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...

3 years ago | 0 answers | 0

### 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...

3 years ago | 1 answer | 0

### 1

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...

3 years ago | 0 answers | 0

### 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...

3 years ago | 3 answers | 0

### 3

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....

3 years ago | 1 answer | 0

### 1

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 ...

3 years ago | 1 answer | 0

### 1

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...

3 years ago | 5 answers | 1

### 5

Question

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

3 years ago | 1 answer | 0

### 1

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 ...

4 years ago | 1 answer | 0