Statistics
RANK
1
of 297,775
REPUTATION
137,875
CONTRIBUTIONS
37 Questions
60,957 Answers
ANSWER ACCEPTANCE
48.65%
VOTES RECEIVED
18,699
RANK
of 20,469
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
How to perform definite integration with non-commutable symbolic coefficients?
Crucially the qw terms are not commutable so cannot be factored out of the integrals. The only way to enter non-commutable term...
2 hours ago | 0
| accepted
Matrices do not have the same number of columns
A = [ zeros(5,5) eye(5); -inv(M)*K -inv(M)*C ]; That has 10 columns -- 5 of zeros and 5 of eye C = 0.002; %N-s/m %damping cons...
17 hours ago | 0
I can't get my color bar to be the range that I want it at.
On the scale of 10^4 to 10^7, 10^4 occupies 1/1000 of the range. Starting at 10^4 is a 1 to 2 pixel difference. Notice the colo...
17 hours ago | 0
Syms, fit and integral in a standalone app
That code never uses z in its sym form, so the syms z is not needed. The definition of func1 uses z as an input parameter, so t...
24 hours ago | 0
| accepted
SUNDIALS solvers interface into Matlab.
You appear to be using MS Windows. MS Windows does not use the .a file extension -- the .a file extension is for statically link...
1 day ago | 0
Executable Generated not Working when .m File is
You have coded an algebraic matrix multiplication, the * operator. Unless you are deliberately doing linear algebra work, chan...
1 day ago | 0
How to fill a blank cell with the value of the cell above it in a table?
if isempty(data.Var1) You are testing all of the Var1 component of data at the same time there, which does not make sense s...
1 day ago | 0
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
yTrain = exp(net(xt(:,tr.trainInd)))-1; That appears to be a 2D array, presuming xt has more than one row. trainInd is a vector...
1 day ago | 0
How to use function ping in Matlab 2024?
It is perhaps easier to system('ping') . Or, if you are using Windows, then to use System.Diagnostics.Process to construct a .NE...
1 day ago | 0
can a function be made to be called from any directory?
If you are referring to custom functions that are to be called no matter which directory you call them from, then the answer is ...
1 day ago | 0
Error using save, too many output arguments - don’t know how to fix.
save() does not support any output arguments. You also have the problem that save() with a single input argument will save all ...
2 days ago | 0
HOW DO I GET LICENSE KEY FROM MATHLAB
You need to activate the trial version; https://www.mathworks.com/matlabcentral/answers/97225-how-do-i-install-a-trial-license-o...
2 days ago | 0
Modify function_handle in Simulink matlab function
if nonConOption == 1 nonlcon = @circlecon; else nonlcon = @(varargin) deal([],[]); end
2 days ago | 1
how can I change y-axis without changing figure' values?
imagesc(t, fliplr(f), ST_normalized) ax = gca; ax.YDir = 'normal';
2 days ago | 1
| accepted
Using variable as part of name to extract sequentially named columns from imported table
for i = 1:wmod force = data.("Force_" + i); stroke = data.("Stroke_" + i); plot(stroke, force, 'displayname', str...
3 days ago | 0
| accepted
Why do i get a figure window that is completely blank
Possibly you have not written any graphics to that figure. Possibly your code depends on using the default figure or the defaul...
3 days ago | 0
Xlim error in App designer
You do not provide initial values for app.StartYear or app.StopYear, so they are initialized to [] (the empty vector) Then when...
3 days ago | 0
how to take the first number of the sentence (before the hyphen)
double(extractBefore(VARIABLE, ' -'))
3 days ago | 0
| accepted
error in Simulink matlab function
Simulink needs to be able to calculate the output size at compile time. Simulink is able to take into account formulas such as s...
4 days ago | 1
| accepted
How can I stop Fmincon?
Use an OutputFcn and set the "stop" output according to whether you want to stop or not. https://www.mathworks.com/help/optim/ug...
4 days ago | 0
APP DESIGNER EDIT FIELD ISSUE---HELP REQUESTED
Your code has disp(['EditField1.Value =' , app.EditField.Value]); This does a horzcat() operation between a charac...
4 days ago | 1
| accepted
I have developed this code to solve the problem until a certain value of y is achieved but I keep getting "Array indices must be positive integers or logical values"
You are confusing "indexed at" with "function maps to" y(0) = y0 is an example of "function maps to" -- the function y maps 0 t...
4 days ago | 0
any option as applying while code to develop pipeline connection within looped network; has noted zero indexing
else(matr1(rL,3)==11); I suspect from context that you wanted elseif(matr1(rL,3)==11);
4 days ago | 0
How to make a curve fill the whole plotspace
You have the same y each time, but the visible coverage is different. For log plots the implication is that the data either beco...
4 days ago | 0
| accepted
alphaShape doubt to extract the number of polygons and its vertices
After the call shp = alphaShape(high_wind_x, high_wind_y, 1); you can do [tri, P] = alphaTriangulation(shp); ...
4 days ago | 0
| accepted
For loop operation in ODE45 performs faster than equivalent indexing
index = 1:Nx; % Compute stencil-based fluxes f0(index) = (2/6) * f_ext(index) + (-7/6) .* f_ext(index+1) + (11/6) .* f_ext(ind...
5 days ago | 0
Numeric vector indexing slows down when the vector is a struct field. Why?
I thought struct fields were supposed to behave essentially the same as individual variables, and that dot indexing was just a w...
5 days ago | 0
| accepted
Standard form of Transfer function.
An intermediate step in converting to natural frequency form is finding the roots of the denominator. It happens that it is po...
5 days ago | 0
How to join two images from end to end using matlab and what course of matlab I should learn for that?
Consider using montage
6 days ago | 0
Writematrix loses precision with string present in data
writematrix(["Test";compose("%.999g", 0.123456789)],"./testB.txt") dbtype testB.txt Retains full precision.
7 days ago | 1
| accepted