Community Profile # Miraboreasu

Last seen: Today Active since 2022

#### Statistics

• #### Content Feed

View by

Question

How to change the symbol size of the legend
figure cmap = colormap(cool(4)); hold on LL(1) = scatter(nan, nan,75, cmap(1,:), "square", 'filled'); hold on LL(2) = scatt...

12 days ago | 1 answer | 0

### 1

Question

Export figure using print with variable as the file name
x1=1:1:1000; check = rand(1000,35); cmap = hsv(5); for K = 1 : 5 thiscolor = cmap(K,:); figure for J = K:5:35 ...

1 month ago | 2 answers | 0

### 2

Question

Export plot as 600dpi png and with variables in the file name
iter = 1; for i=1:10 t =1:1:1000; p =t*i; figure plot(t,p,'Color', 'b','Li...

2 months ago | 1 answer | 0

### 1

Question

Precision and indices must be positive integers
Hello, three questions for the following code If I don't use round() for timerise, timesta, timedecay, it will give a warn: War...

2 months ago | 3 answers | 0

### 3

Question

Solve a nonlinear equation with constrains
Hello, clear p0=1000e6; t0 = 1e-6; td = 1e-6; t = t0 + td; c = 5e6; a = @(r)log(r)./(t0*(r-1.0)); b = @(r)a(r)....

2 months ago | 1 answer | 0

### 1

Question

Can I find likelihood function of an objective function?
Sorry this is not a question 100% related to MATLAB. I have some data. I used nlinfit and got the parameters for these three ...

2 months ago | 2 answers | 0

### 2

Question

Find the best model for my fitting
\$f=b1*x1+b2*x2+b3\$ \$f=b1*x1^b2+b3*x2+b4\$ \$f=b1*x1^b2+b3*x2^b4+b5\$ I use nlinfit to fit my data to these three model, and I ou...

2 months ago | 1 answer | 0

### 1

Question

Integral for the outer surface area of the part of hyperboloid formed by a hyperbola
I want to know the surface area of a hyperbola rotates 360 along the y-axis Hyperbola is infinite, I only want the surface area...

3 months ago | 1 answer | 0

### 1

Question

Plot a shadow between to lines for a current figure without legend
Hi, I want to fill with light gray shadow (how to control the color?) between my two vertical line, xline(1), xline(10), the hei...

3 months ago | 1 answer | 0

### 1

Question

Plot smooth lines from limit data with colormap and legend
A=rand(10,10); hold on for i = 1:size(A,2) plot(A(:,i)) hold on end Hello I store my data in a matrix, and I wa...

3 months ago | 1 answer | 0

### 1

Question

Interpolate data to present with limited size of data
Suppose I only have 35 data points, it is very expensive to run. x=rand(5,7) figure imagesc(x) axisx=[11 12 13 14 15 16 17...

3 months ago | 1 answer | 1

### 1

Question

Resultant vector from three different location and normal vector of a plane
Hey, I have three vector in the xyz space. How to compute the Resultant vector from these three vectors, they are 0.000326 ...

4 months ago | 1 answer | 0

### 1

Question

Calculate work has been done by pressure (detailed explanation inside)
Sorry I post more thant 1 thread on this question, and I really appreciate those answers, but I am confused, so I will say exact...

4 months ago | 1 answer | 0

### 1

Question

Get the displacement component which is perpendicular to the triangle (finite element)
Hey I have a triangle in the space(x, y, z) I know the displacements of three nodes in the vector form, namely d1: 0.00013147...

4 months ago | 3 answers | 0

### 3

Question

Work calculation from applied pressure
A spherical is meshed by many little triangles.A time-dependent pressure (p=10*t) is equally applied to the inner surface of a s...

5 months ago | 1 answer | 1

### 1

Question

Volume formed by a moving triangle
Hello, A pressure ff (not force) is applied to the three points of a triangle. The triangle is moving during the time ΔtΔt (t...

5 months ago | 1 answer | 0

### 1

Question

Subplot with colormap color
Hello, I have a cell of 35 arrays. I want to plot them on 5 subplot, namely ``` subplot(1,5,1)-subplot(1,5,5) ``` each s...

5 months ago | 1 answer | 0

### 1

Question

Access variables with naming in workspace
I have a workspce full of data1, data2, data3.....,data100 They are all arrays with (1,n) Instead of do it one by one via ``...

5 months ago | 2 answers | 0

### 2

Question

Using load for different files with varying names
I have 25 files with .mat files, naming from data1 to data25 how to load them properly without manualy typing from 1 to 25 H...

5 months ago | 2 answers | 0

### 2

Question

Symbolic rewritten in matlab
alpha=log(r)/t0/(r-1); beta=r*log(r)/t0/(r-1); p0=p*(exp(-alpha*t)-exp(-beta*t))/(exp(-alpha*t0)-exp(-beta*t0)); %r=? ...

8 months ago | 1 answer | 0

### 1

Question

scatter 2d plot with value in color
clear x=1:5; y=1:6; data=linspace(1,300,30); figure() scatter(x,y,[],data,'filled') colorbar colormap jet xlabel(...

8 months ago | 1 answer | 0

### 1

Question

Solving nonlinear function using fzero, Error Function values at the interval endpoints must differ in sign.
``` Imp=100; t0=1e-6; P=204000000; Tf=2e-3; x = fzero( @(x) myfunction(x, t0, Imp, P, Tf), [1.001, 10000]); function [f]...

8 months ago | 1 answer | 0

### 1

Question

Intermediate step return ```InF``` while using exp
``` aa=8e+05; bb=1e+06; tf=0.002; temp=(-(bb*exp(bb*tf)-aa*exp(aa*tf))*exp(-bb*tf-aa*tf)+bb-aa) ``` Output is InF I bel...

8 months ago | 1 answer | 0

### 1

Question

because NaN or Inf function value encountered during search while using fzero
I have a nonlinear equation---5e6-5e6*(exp(-aa*xt)-exp(-bb*xt))/(exp(-aa*1e-6)-exp(-bb*1e-6))=0 I am thinking is that due to th...

8 months ago | 1 answer | 0

### 1

Question

Have latex (bold) and variable in legend of a figure
Hello, I have two lines in one figure, one is called error, and the other is typed by latex form as well as the first element o...

9 months ago | 2 answers | 0

### 2

Question

Looking for an Auto Differentiation package can be easily used as a function
I construct a neural network in MATLAB using the basic array since I have no experience in the neural network toolbox. Now I nee...

9 months ago | 1 answer | 0

### 1

Question

Functions are not defined in physics informed neural network documentation
Hello, I am using R2020a In this document, many functions are not defined. https://www.mathworks.com/help/deeplearning/ug/so...

11 months ago | 1 answer | 0