Community Profile

photo

Miraboreasu


Last seen: 30 Tage vor Aktiv seit 2022

Statistiken

  • Thankful Level 4

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


Inconsistencies between using cftool and plot
Hi, I am using the GUI of cftool, and get this ``` Fit Name: untitled fit 1 Exponential Curve Fit (exp2) f(x) = a*exp(b*...

3 Monate vor | 2 Antworten | 0

2

Antworten

Frage


Reconstruct 3D model from slices scan (tif file)
Hello, I scanned a shank using CT. It turns out a lots of slices in tif files. Each tif has the same view, and only part of it ...

8 Monate vor | 1 Antwort | 0

1

Antwort

Frage


what can MATLAB do with tif files
Hi, I got lots of scan (photo) files as tif. and I read them into the array ``` folder = fileparts(which(mfilename)); tifFile...

8 Monate vor | 3 Antworten | 0

3

Antworten

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden