回答済み
I'm trying to get this plot to show me a function I can code in desmos, but is giving me the wrong plot in matlab. Any help would be appreciated
clc, close all, clear vars % Pieces of the function Q = 9.4*10^-6; % C q = 2.4*10^-5; % C e = 8.854*10^-12; % C^2/(Nm^2): pe...

5ヶ月 前 | 1

| 採用済み

回答済み
Error using ^ when integrating a function
fun = @(r) (1+erf((-36.38+2.56.*log(5+((138.4-r)/4).*((26.964*2.71828.^(-0.0238*r)).^(4/3)))-5)/sqrt(2)).*r); Use vectorized op...

5ヶ月 前 | 3

| 採用済み

回答済み
Not enough input arguments for ode45
[time, state_values] = ode45(@(t,Y, updated_state) DPIC(t, Y, updated_state), tspan, IC); ode45() only has two values available...

5ヶ月 前 | 0

回答済み
i want to know if a image can be made with the magnitude data of an FMCW radar?
imagesc(X_data, Y_data, Magnitude_data) or just imagesc(Magnitude_data)

5ヶ月 前 | 1

| 採用済み

回答済み
How to add graphs to genetic algorithm
what is meaning of "ga stopped because the average change in the penalty function value is less than options.FunctionTolerance a...

5ヶ月 前 | 1

回答済み
Want to truncate an array
format long g A = [8.5766662529*10^22; 5.354353982*10^22;5.289634*10^22] round(A, 4, 'significant')

5ヶ月 前 | 1

回答済み
Error using regstats (RESPONSES and DATA must have the same number of rows)
regstats regstats(y,X,model) performs a multilinear regression of the responses in y on the predictors in X. X is an n-by-p mat...

5ヶ月 前 | 0

| 採用済み

回答済み
how to access matlab remotely?
You need to use something like Remote Desktop, or TeamViewer. These require the cooperation of the remote system.

5ヶ月 前 | 0

回答済み
Where can I download the latest version of AdiMat?
You can use the Wayback Machine https://web.archive.org/web/20210515144531/https://adimat.sc.informatik.tu-darmstadt.de/downloa...

5ヶ月 前 | 1

回答済み
Convert Double 3D matrix into 3D Tiff file
https://www.mathworks.com/help/matlab/ref/imwrite.html#btv3cny-1-A A — Image data matrix Image data, specified as a full (no...

5ヶ月 前 | 1

| 採用済み

回答済み
Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parenthe
You cannot define functions at the command line. When you do define functions, you must provide a list of plain (unindexed) var...

5ヶ月 前 | 1

回答済み
Matlab error how to fix?
You cannot fix your code. It is not possible to create a uniform array in which the first column is datetime and the second colu...

5ヶ月 前 | 0

| 採用済み

回答済み
Fourier sine series plotting first term, first five term, and first 15 terms on one graph
x = 0:0.1:25; n = 1; ysin = fsin(x,n); plot(x,ysin) hold on n = 5; ysin = fsin(x,n); plot(x,ysin) hold on n = 15;...

5ヶ月 前 | 1

| 採用済み

回答済み
how to filter data by date?
FilteredDataRealizedVol = FilteredDataRealizedVol(FilteredDataRealizedVol{:,1} <= datetime(2016,7,18),:);

5ヶ月 前 | 0

| 採用済み

回答済み
Why am I getting the error "Too many output arguments"?
You do not initialize error before you use it. error happens to be the name of an important Mathworks function -- a function th...

5ヶ月 前 | 1

回答済み
GA does not solve problems with integer and equality constraints
What you have to do is not declare [1 3 5 7] as being integer valued, and instead declare your own MutationFcn and CrossoverFcn ...

5ヶ月 前 | 0

回答済み
Use of fmincon to minimise function with varying parameters, but receives 'Not enough input arguments'
[xOpt,fval,exitflag,output,lambda,grad,hessian] = fmincon(@(x) minCostFunction_b(x,parb),xInitial,[],[],[],[],xMin,xMax,@nonline...

5ヶ月 前 | 1

| 採用済み

回答済み
How to simplify infinite double matrix summation in Matlab.
beta = 1.5; A = [1 0;0 2]; R = [0 3; 1 1]; syms k l t f = ((-A)^k./factorial(k)).*((factorial(k+l).*(-R)^l)/gamma((2-beta).*l....

5ヶ月 前 | 1

| 採用済み

回答済み
length error don't know why
The error is not due to length(). The error is due to having run EDwithNetwork() without providing enough parameters In particu...

5ヶ月 前 | 1

| 採用済み

回答済み
Tracking failed integral2() inside a for loop
Just before the integral2() call warning(''); Just after the integral2 call [msg, lastID] = lastwarn(); If msg is empty then...

5ヶ月 前 | 0

| 採用済み

回答済み
How to convert radian to degree from answer (or equation) generated from syms
Q = @(v) sym(v); Pi = sym(pi); %% INPUTs: E = Q(2)*10^11; % Young's Modulus (in N/m/m) I = Q(3)*10^-3; % Moment of...

5ヶ月 前 | 0

回答済み
How to recover corrupted *.mat file data
Unfortunately those files are not in .mat format and cannot be recovered. Both files start with the same sequence of 8 bytes, b...

5ヶ月 前 | 1

| 採用済み

回答済み
Error using plot Vectors must be the same length.
t = (0:(N-1))/fs; s1 = sin(2*pi*10*t); s2 = sin(2*pi*20*t); s = [s1, s2]; s is a row vector that is twice as long as t (sin...

5ヶ月 前 | 0

回答済み
Convert polar to cartisian coordinate
pol2cart uses radians. There is no Mathworks supplied Pol2Car function.

5ヶ月 前 | 0

回答済み
Transparency in scatter plot
scatter(VectorOfX, VectorOfY, VectorOfPointSizes, VectorOfColor, ... 'MarkerFaceColor', 'flat', 'MarkerEdgeColor', 'flat', ...

5ヶ月 前 | 0

回答済み
missing year in timetable
The range starts 01-Dec-2020 which is after 2020-01-01

5ヶ月 前 | 0

| 採用済み

回答済み
Solution is not unique because the system is rank-deficient | Solve Function | Syms Variable | Will be very helpful, if you can resolve this pleaseeee
You are trying to solve three equations for one variable. Although two of the equations are inequalities, solve() simply gives u...

5ヶ月 前 | 0

回答済み
Want to buy toolboxes for an older version of Matlab without renewing the license
Historically the rules were: purchasing against a previous release was permitted for a period, a period that was not clearly do...

5ヶ月 前 | 0

回答済み
Please help me with syntax error on line 52
% Example inputs before calling the function ne = 10; nn = 2*ne + 1; mesh.x = linspace(0, 6, nn); mesh.conn = [1:2:nn-2; 2...

5ヶ月 前 | 0

回答済み
str2double with long string seems to give wrong answer
format long g str = '6879331413876961408'; num = sscanf(str, '%ld')

5ヶ月 前 | 1

| 採用済み

さらに読み込む