Community Profile

# Miraboreasu

Last seen: 3 mesi fa Attivo dal 2022

#### Content Feed

Visto da

Domanda

plot x label like plot(x, y) in boxplot
Hello, I need to use boxplot, but how to plot boxplot like plot(x,y), because the x-label (position) for my boxplot is unified...

3 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Need legend for lines plotted with different style in for loop and if statement
clear f=figure; x = 1:0.01:10; %ft k = 1:10; b = 1:10; cmap = colormap(cool(length(k))); for ii = 1:length(k) ...

3 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

4 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

5 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

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

6 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

6 mesi fa | 3 risposte | 0

### 3

risposte

Domanda

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

6 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

6 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

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

6 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

6 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

7 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

7 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

7 mesi fa | 1 risposta | 1

### 1

risposta

Domanda

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

8 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

8 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

8 mesi fa | 3 risposte | 0

### 3

risposte

Domanda

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

8 mesi fa | 1 risposta | 1

### 1

risposta

Domanda

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

8 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

9 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

9 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

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

9 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

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

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa un anno fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa un anno fa | 1 risposta | 0

### 1

risposta

Domanda

A good tutorial of Solve Partial Differential Equations Using Deep Learning (physics informed neural networks)
Hello, instead of Python, I want to learn physics informed neural networks in MATLAB. I am using R2020a https://www.mathworks.c...

oltre un anno fa | 3 risposte | 0

risposte