Statistics

All
MATLAB Answers

38 Questions
61,489 Answers

Cody

0 Problems
1 Solution

Discussions

19 Discussions

RANK
1
of 302,360

REPUTATION
139,163

CONTRIBUTIONS
38 Questions
61,489 Answers

ANSWER ACCEPTANCE
47.37%

VOTES RECEIVED
18,900

RANK
 of 21,737

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
120,632
of 181,514

CONTRIBUTIONS
0 Problems
1 Solution

SCORE
20

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
19 Discussions

AVERAGE NO. OF LIKES
3

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

View badges

Feeds

Answered
How can I plot different curves for the function val?
See attached. What is plotted is the difference between the first line and the other lines. The maximum difference is on the ord...

2 days ago | 0

Answered
Showing markers to plot legend
There are two closely related ways to handle this. faun.age = [5 7 4 9]; faun.depth = [2 3 4 3]; figure(1) p = plot(faun.a...

3 days ago | 0

Answered
Write matrix/table to text files without changing checksum
If you need to be absolutely certain that the data is represented exactly: writematrix(compose("%.751g", TheMatrix), FILENAME, ...

4 days ago | 1

Answered
How to use fprintf with cell arrays in MATLAB R2026b
data = { 'Alice', 24, 'Engineer'; 'Bob', 30, 'Doctor'; 'Charlie', 22, 'Student' }; dataflipped = data.'; fpr...

4 days ago | 1

Answered
MATLAB prints ''Greek letters'' in chart text, but how about sprintf, compose, string or char functions?
It depends on how new your MATLAB release is, and (for sufficiently old MATLAB) which operating system you are using, and which ...

7 days ago | 1

Answered
How can I capture all outputs in a cell array, if the function uses varargout and the number of outputs is dependent on the function parameters.
Let us create a function whose number of outputs depends on the number of input arguments: D = zeros(2,3,4); fun = @size; ...

29 days ago | 0

Answered
Find angle from equation has sin(theta)/theta
Q = @(v)sym(v); noarc = Q(5); SoR = Q(604611392)/Q(10)^10; syms thetaV %%%%%%%%%%%%%% I have This equation %%%%%% % ...

1 month ago | 0

Answered
I have an individual license that lets me use Matlab on up to four computers in my lab. Can I use a computer in Japan?
You are required to get permission from Mathworks Support to use your license outside the region it was purchased for. What Mat...

1 month ago | 0

Answered
My problem of sequence
Your target vector is length 35. You have defined your matrices as having rows of length 30. It is not possible for a matrix of ...

1 month ago | 0

Answered
I have the macOS version, I will also need a windows version to run on parallels. Can I obtain a windows version?
See the instructions I posted at https://www.mathworks.com/matlabcentral/answers/1810545-download-matlab-2014-a#answer_1348112 (...

1 month ago | 0

Answered
Is There Any Practical Difference Between Extraction and Deletion When Reducing a Vector?
format long g X = rand(1,10000); to_delete_unsorted = randperm(width(X), 20); to_delete_sorted = sort(to_delete_unsorted); ...

1 month ago | 0

| accepted

Answered
Is it More Efficient to Load a Subset of Variables from a .mat File Rather than All of the Variables?
Experimentally, loading the entire file at once is faster. fname = 'matfile.mat'; temp = [ cellstr(reshape(string(['a':'z...

1 month ago | 0

Answered
How to access elements with same field names in an array of structures without using a loop?
You could possibly work something up using cellfun with a subsasgn call, but it would be ugly and needlessly complex.

2 months ago | 0

Answered
Problem making it past line 8 - no error given
It is not taking a long time to compute the symbolic solution at each t: it is taking a long time to display the symbolic soluti...

2 months ago | 0

Answered
InstallForMacOSX.app doesn't work on Mac Tahoe
MacOS Tahoe was the last MacOS supported on Intel Mac. R2025b was the last MATLAB supported on Intel Mac. If you are trying t...

2 months ago | 0

Answered
Saving large mat-files 2-4 GB takes 1 or 2 min. how to do things in paralell?
There are no functions that are defined to write .mat files asynchronously. There are potentially differences in how quickly a...

2 months ago | 0

Answered
Why Does sym(cell) Not Return a Cell?
If I recall correctly, historically it had to do with the way that arguments used to be constructed for the internal conversion ...

2 months ago | 0

| accepted

Answered
How do I fix my P_ups function?
f = 0.018; %friction coefficient f is NOT declared global at that point in the code, so f is just a normal variable. global ...

2 months ago | 0

| accepted

Answered
How to multiple very large numbers in Matlab?
uint64(111111111) * uint64(111111111)

3 months ago | 0

| accepted

Answered
Minimum license TIMEOUT for the latest 2026a version
According to https://www.mathworks.com/help/install/license/concurrent-licenses.html#mw_4c2f5297-ee7d-4e3b-9fc1-d309b32817ce the...

3 months ago | 0

Answered
how to simplify/solve a trigonometric function
syms ajj Giijj Hii real syms angle lat real Gincliijj = Giijj.*cosd(angle)+1000*(-sind(ajj).*cosd(lat)*sind(angle).*cosd(0)+co...

3 months ago | 0

Answered
anonymous function with rng call inside
f = @(t) struct('rng', rng(ceil(t/10)), 'r1', rand(1)).r1 f(2)

3 months ago | 0

| accepted

Answered
The etc directory with lmstat, lmutils is missing from a fresh R2026a installation; recommendations?
See https://www.mathworks.com/help/install/ug/update-network-license-manager-software-1.html for independent software that must ...

3 months ago | 0

| accepted

Answered
what is compared in gpu demo
No, that benchmark does not compare to host processing speed at all.

3 months ago | 0

Answered
Dear all, I have the following integral. Standard numerical integration (direct summation) takes about 40 seconds on a regular PC. Any tricks to reduce this to a few seconds?
Ny = 50; rng(655321); M2Ny = rand(2*Ny, 2*Ny); ZNy = zeros(Ny, Ny); INy = eye(Ny); I2Ny = eye(2*Ny); C = @(k1, Ny) [exp(-1...

3 months ago | 1

| accepted

Answered
uicontrol edit field .String doesn't visually update from KeyReleaseFcn unless a breakpoint is set
uicontrol for traditional figure has the property that the String property does not update visually until one of two circumstanc...

3 months ago | 0

| accepted

Answered
Does MATLAB phone home on startup? (Startup time with VPN and without VPN)
It looks to me as if MATLAB connects to licensing.mathworks.com upon startup. There are other connections from MATLAB Service ...

3 months ago | 0

| accepted

Answered
Method for returning only the image portion of a Figure?
for i = 1:20 img = imread(sprintf('ULAMovePerp_full/%s',contents(i).name)); img_cropped = img(70:580,161:1020,:); ...

3 months ago | 2

| accepted

Answered
Execution of script mpower as a function is not supported
Your D:\App Files\MATLAB\toolbox\matlab\matfun\mpower.m is probably corrupted. In R2025b at least, mpower really is a MATLAB f...

3 months ago | 0

Answered
Issues with specifying the renderer in MATLAB 2026a for graphics
MATLAB no longer uses OpenGL at all, as of R2025a. OpenGL is no longer an option at all, and can no longer be selected. https...

4 months ago | 0

Load more