Community Profile

# Meva

56 total contributions since 2014

Professional Interests: Internal Fluid Dynamics

View details...

Contributions in
View by

Question

Fill under lines in plot3
Hello, I need to fill under the Z-data in a plot3. I have below function. function mmplot3(x,y,z,c,w,b,d) %MMPLOT3 3...

alrededor de 3 años ago | 0 answers | 0

### 0

Question

How to plot multiple arrays in a 3d or surface plot?
Hi, I plotted my array using the code: x=[1*1001] vector from 0 to 1; for nt=1:Nt t=0.1+(nt-1)*dt; ... ...

alrededor de 3 años ago | 1 answer | 0

### 1

Question

How to know exact coordinates of an intersection of two functions using fplot and function handle?
Hi, This might be trivial to code. However I could not find the coordinates of intersection point. I have two functions ...

alrededor de 3 años ago | 1 answer | 0

### 1

Question

Vector output of a function inside a for loop
Hello, So sorry for such a long code. I have a loop and a nested function whose input and output variables use the index of ...

más de 3 años ago | 1 answer | 0

### 1

Question

Why if condition does not store my variables?
Hello, Please forgive me my post is long. But I debugged and I came up with no solution. I want to store my u, p and gap arr...

más de 3 años ago | 1 answer | 0

### 1

Question

Symbolic substraction of multiple valued functions
Hello, I have two equations which are the same but in a different format. byhand is arranged version of thetadouble function....

más de 3 años ago | 1 answer | 0

### 1

Question

Weird plot axis range and ticks
Hello, Just a quick question, I intended to compare numerical solutions and analytical solutions of a system. I plot them. B...

más de 3 años ago | 1 answer | 0

### 1

Question

NaN values when using trapz and second order coupled ode
Hi, Firstly, apologise for a long question. I could not make it shorten. Let me explain the problem. <</matlabcentral/ans...

más de 3 años ago | 1 answer | 1

### 1

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

más de 3 años ago

Question

float point arithmetic and vpasolve
Hi, I have symbolic integrations. (int_1 , int_2 inside t.m). I need to solve an equation system with these integrations...

más de 3 años ago | 1 answer | 0

### 1

Question

VPA > While converting from 'sym': The conversion returned a value of class 'matlab.mixin.Heterogeneous', which cannot be inserted into an array of class 'matlab.graphics.illustration.ColorBar'.
Hi, This interesting error is caused from the following code: x0 = [.1, .1]; options = optimoptions('fsolve','Displa...

más de 3 años ago | 0 answers | 0

### 0

Question

vpasolve for nonlinear system of equations instead of fsolve for complex valued results
I have nonlinear 2 quite complex equations for 2 unknowns. At first, I used fsolve. But, because the equations are complex value...

más de 3 años ago | 0 answers | 0

### 0

Question

Matlab limitation in fsolve using function input
Hello, I tried to loop for time value (T) inside my fsolve, but fsolve is pretty unforgiving. The time loop does not seem...

más de 3 años ago | 2 answers | 0

### 2

Question

For loop inside functions in fsolve
Hello, I have 2 by 2 system of nonlinear equations. I will use for loop for my time T inside these two functions. I have...

más de 3 años ago | 1 answer | 0

### 1

Question

Converting symbolic function to symbolic formula in order to use FSOLVE
Hi, I need to convert symbolic functions integral_result_1 and integral_result_2 to symbolic formula in order to use fsolve for ...

más de 3 años ago | 1 answer | 0

### 1

Question

fsolve Assignment has more non-singleton rhs dimensions than non-singleton subscripts
Hi, I have a symbolic integration and I need to use fsolve for my nonlinear 2 by 2 system: function F=torder1(x) % cle...

más de 3 años ago | 1 answer | 0

### 1

Question

Plotting in for loop by adding second dimension to the variables
Hello, I need to plot H,u at times t=0.1, 0.2, 0.3, ...1 in the same plot over a range of time. I know below code is w...

casi 4 años ago | 0 answers | 0

### 0

Question

Error in alternateGetframe when creating a video in a large for loop
Hello, I am using Matlab 2015a, 2015b. I think there is limitation of matlab for creating movies! I tried all possibili...

casi 4 años ago | 1 answer | 0

### 1

Question

Adding multiple legends outside for loop which is for multi variables
Hello, I used two different colourbar for two different variables. The variables are plotted in for loop. Legends should be ...

alrededor de 4 años ago | 1 answer | 0

### 1

Question

Implicit finite difference for 5 simultaneous pde and Newton-Raphson method
Hello, I am trying to solve my system with 5 nonlinear pde with 5 unknown functions using implicit finite difference method. ...

alrededor de 4 años ago | 0 answers | 0

### 0

Question

unrecognized input argument moviegui MATLAB R2015b
Hello, I tried this code: h=figure; movegui(h, 'onscreen'); rect = get(h,'Position'); rect(1:2) = [0 0]; vi...

alrededor de 4 años ago | 1 answer | 0

### 1

Question

How to fill an area that is half NaN half variable in the figure?
Hi, I know how to fill an area in a figure. But, this time I have some values of my function are variable some of them NaN. I...

alrededor de 4 años ago | 1 answer | 0

### 1

Question

Which tool can I use to solve the nonlinear pde system with three functions?
Hello, I have three nonlinear equations with three unknown functions as attached. Which tool will be more useful and easier t...

más de 4 años ago | 2 answers | 0

### 2

Question

How to draw a line in if condition and plotting
Hello, My code is: dx=0.01; x=0:0.01:1; dt=0.0001; for nt=1:10001 t=(nt-1)*dt ... ...

más de 4 años ago | 1 answer | 0

### 1

Question

Several statements in if condition plotting and drawing arrow
Hello, My code is like this: ... for nt=1:10001 t=(nt-1)*dt ... if nt==1 | nt==101 | nt==1001 ...

más de 4 años ago | 1 answer | 0

### 1

Question

how to solve a pde with an integration inside the equation
Hello, My function is H(x,t) . H(x,0) = 1/2 I need to solve d/dt(int_1^x dH/dt dx) + dH/dt +2 dH/dx -C(t)/2 = 0...

más de 4 años ago | 0 answers | 0

### 0

Question

adding multiple arrows with latex in a plot
Hi, I have a plotting code but I cannot set two latex texts in a plot with arrows. Anyone knows?

casi 5 años ago | 1 answer | 0

### 1

Question

putting a legend to plot a data in a for loop
Hello, I have : if l==1 thickness = bodyfunction1; end if l==2 thickness = bodyfunc...

casi 5 años ago | 1 answer | 0

### 1

Question

Changing 2D line graph into 3D graph by adding an axes from a condition
Hi, I have my main script with a nested function. p2 is array valued and it is calculated in the main script and nested funct...

casi 5 años ago | 0 answers | 0

### 0

Question

Incorrect number of input arguments when plotting in the main script getting data from a nested function
Hi, My main script is : dx=0.01; t=0.1; for i=1:101 xx(i)=(i-1)*dx; end ...... ...... for i...

casi 5 años ago | 1 answer | 0