# University Glasgow

**Statistics**

RANK**262 621**

of 273 539

REPUTATION**0**

CONTRIBUTIONS

**25** Questions

**2** Answers

ANSWER ACCEPTANCE **
56.0%
**

VOTES RECEIVED**0**

RANK

of 18 459

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 123 011

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

**Content Feed**

Question

For over three dimensional data

I have a data of the form: A = 7x9x7, where u = [1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6]. Please how can loop over u. I tried for j = ...

ungefär en månad ago | 1 answer | 0

### 1

answerQuestion

Extract of data for the last time step

I have tried to extract theta at the middle of the array for all t. Please, how can I extract theta middle that correspond to t...

2 månader ago | 1 answer | 0

### 1

answerQuestion

Title in maths symbol and title as legend on each plot on different locations.

Please: How can I make a title as legend on each of my plot on the different location apart from the general title? How can I ...

3 månader ago | 1 answer | 0

### 1

answerQuestion

How to call an equation with dependent variables in a function

Hi, I'm solving a nonlinear systems of pdes using FDM. I received this error: Index exceeds the number of array elements. Index...

4 månader ago | 1 answer | 0

### 1

answerQuestion

Error tolerance in matlab

I'm using R2022a: I received this when I tried solve of mixed PDEs using finite difference method. Warning: Failure at t=6.1229...

4 månader ago | 2 answers | 0

### 2

answersQuestion

Remove white space in plot

Please how do I reomove the white space in the plot I have attached?

4 månader ago | 1 answer | 0

### 1

answerQuestion

Legend for multiple plots varying parameters

Pleas, how do I make my legend to match with my data? I have attached the figure. I want the legend data1 to corresponds to xi =...

5 månader ago | 1 answer | 0

### 1

answerQuestion

Legend for varying parameters in a loop

Is it possible to have legends such that for xi=-0.06 (I have 4 different plots for various times). I want the lines to have the...

5 månader ago | 1 answer | 0

### 1

answerQuestion

Please how do I get rid of local variables may have been changed to match the globals error?

I this error: Warning: The value of local variables may have been changed to match the globals. Future versions of MATLAB wil...

5 månader ago | 1 answer | 0

### 1

answerQuestion

Data plot for different values

I want plot theta as a function of z at t = time(nt) for all xi values but receive: Error using plot: Data cannot have more than...

5 månader ago | 1 answer | 0

### 1

answerQuestion

How to plot a function for different values of input parameter in a function

Hi, Please, how do I create a procedure/function such that it carries \xi as an input and use it to plot r for different val...

5 månader ago | 1 answer | 0

### 1

answerQuestion

How to plot discontinous function f(x,y)

Please, how do I plot discontinous function of two variables: f(x,y) z = f(x,y) = x-.8193318913*sin(x)*cos(x)/(cos(x)^2+sinh(...

5 månader ago | 1 answer | 0

### 1

answerQuestion

Finding root of nonlinear functions

Please, how do I find all the roots this function: y-0.8193318913*tanh(y)+0.2931044702e-2*tanh(y)/(0.7500000000e-3*y^2-0.162233...

5 månader ago | 2 answers | 0

### 2

answersQuestion

Contour plot of a function

Please someone should with a contour plot of a p for various values of xi and H. For instance, H=0..3, and xi=2.0..0.0, where H...

5 månader ago | 1 answer | 0

### 1

answerQuestion

I don't want to include initial condition in the plot

Hi, Please, how do omit the initial condition in my plot: I want to omit the plot for t=0: See my code below: figure su...

5 månader ago | 1 answer | 0

### 1

answerQuestion

I want to use fzero to find the root of a transcendental function r. I have problem on line 33-37 and 52-63

%% initialization clear clc close all %% Model parameters global k1 eta1 alpha3 gamma1 d N Phi xi h C q qstar Theta OddA...

6 månader ago | 0 answers | 0

### 0

answersQuestion

Integer operands are required for colon operator when used as index.

Warning: Integer operands are required for colon operator when used as index. > In Case1_Ijuptilk_130822 (line 75) Warning...

6 månader ago | 1 answer | 0

### 1

answerQuestion

Saving figures and automatic legend

I tried this ax = gca; exportgraphics(ax,'myplot.png','Resolution',300) but is saving only the last plot. I also want auto...

6 månader ago | 1 answer | 0

### 1

answerQuestion

plot function of two variables as one variable

I want to plot theta in the middle of the layer by setting z=d/2, for t=0..100. I have attached the snapshot of what I'm expecti...

6 månader ago | 1 answer | 0

### 1

answerQuestion

How can I assign zeros to a particular value in an expression

Is it possible to assign zeros to following entries: u(N-N), u(N) i.e u(0) and u(4) in the loop below? N =4; u = (1:N); v = (...

6 månader ago | 2 answers | 0

### 2

answersSystem of mixed PDE with 2 variables using FDM and RK4

Hi, thank you for your help. The code is working well for 4 counts. But when I tried to generalised, I received this error:...

6 månader ago | 0

System of mixed PDE with 2 variables using FDM and RK4

% I still don't this error despite having 5 by 5 entries in both you theta and v: Error in counts_4_IjuptilK_080822 (line 41) ...

6 månader ago | 0

Question

System of mixed PDE with 2 variables using FDM and RK4

I want solve the attached mixed pdes in 2 variables with FDM and R4K. See my trial below: I received and error that 'N' is uncr...

6 månader ago | 2 answers | 0

### 2

answersQuestion

I tried Euler's method and RK4 method but I'm getting different results. Please can someone help

function HeatPDE() global x_vec dx k clear clc clear all %%%% du/dt = d^2u/dx^2; u is f(x,t) %%%% DFM: (u(x, t+dt) -u(x...

6 månader ago | 1 answer | 0

### 1

answerQuestion

Error from ode15s

Received this error: Error in ode15s (line 153) odearguments(odeIsFuncHandle, odeTreatAsMFile, solver_name, ode, tspan, y0, op...

7 månader ago | 1 answer | 0

### 1

answerQuestion

Solving 3 systems of pde using pdepe

I have 2 sytems of PDEs as seen in the attached file. I transformed the systems into 3 systems of pde by letting w = \partial \t...

7 månader ago | 0 answers | 0

### 0

answersQuestion

Transforming linear pde to code equation

Hi everyone, Please how can I transform linear pde to code equation. The equations are in the attached file BC: theta(0,t) ...

7 månader ago | 0 answers | 0