Statistics

All
MATLAB Answers

37 Questions
60,957 Answers

Cody

0 Problems
1 Solution

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

RANK
118,143
of 159,513

CONTRIBUTIONS
0 Problems
1 Solution

SCORE
20

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Most Accepted 2024
  • Most Accepted 2023
  • Solver
  • First Review
  • Most Accepted 2022
  • Most Accepted 2021
  • Roberson Cup
  • Most Accepted 2019
  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016

View badges

Feeds

View by

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
Modify function_handle in Simulink matlab function
if nonConOption == 1 nonlcon = @circlecon; else nonlcon = @(varargin) deal([],[]); end

2 days ago | 1

Answered
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

Answered
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

Answered
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

Answered
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

Answered
how to take the first number of the sentence (before the hyphen)
double(extractBefore(VARIABLE, ' -'))

3 days ago | 0

| accepted

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Load more