Feeds
답변 있음
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...
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...
1일 전 | 0
답변 있음
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...
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...
2일 전 | 0
답변 있음
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, ...
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, ...
3일 전 | 1
답변 있음
How to use fprintf with cell arrays in MATLAB R2026b
data = { 'Alice', 24, 'Engineer'; 'Bob', 30, 'Doctor'; 'Charlie', 22, 'Student' }; dataflipped = data.'; fpr...
How to use fprintf with cell arrays in MATLAB R2026b
data = { 'Alice', 24, 'Engineer'; 'Bob', 30, 'Doctor'; 'Charlie', 22, 'Student' }; dataflipped = data.'; fpr...
4일 전 | 1
답변 있음
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 ...
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 ...
6일 전 | 1
답변 있음
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; ...
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일 전 | 0
답변 있음
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 %%%%%% % ...
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개월 전 | 0
답변 있음
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...
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개월 전 | 0
답변 있음
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 ...
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개월 전 | 0
답변 있음
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 (...
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개월 전 | 0
답변 있음
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); ...
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개월 전 | 0
| 수락됨
답변 있음
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...
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개월 전 | 0
답변 있음
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.
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개월 전 | 0
답변 있음
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...
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개월 전 | 0
답변 있음
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...
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개월 전 | 0
답변 있음
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...
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개월 전 | 0
답변 있음
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 ...
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개월 전 | 0
| 수락됨
답변 있음
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 ...
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개월 전 | 0
| 수락됨
답변 있음
How to multiple very large numbers in Matlab?
uint64(111111111) * uint64(111111111)
How to multiple very large numbers in Matlab?
uint64(111111111) * uint64(111111111)
3개월 전 | 0
| 수락됨
답변 있음
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...
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개월 전 | 0
답변 있음
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...
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개월 전 | 0
답변 있음
anonymous function with rng call inside
f = @(t) struct('rng', rng(ceil(t/10)), 'r1', rand(1)).r1 f(2)
anonymous function with rng call inside
f = @(t) struct('rng', rng(ceil(t/10)), 'r1', rand(1)).r1 f(2)
3개월 전 | 0
| 수락됨
답변 있음
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 ...
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개월 전 | 0
| 수락됨
답변 있음
what is compared in gpu demo
No, that benchmark does not compare to host processing speed at all.
what is compared in gpu demo
No, that benchmark does not compare to host processing speed at all.
3개월 전 | 0
답변 있음
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...
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개월 전 | 1
| 수락됨
답변 있음
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...
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개월 전 | 0
| 수락됨
답변 있음
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 ...
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개월 전 | 0
| 수락됨
답변 있음
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,:); ...
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개월 전 | 2
| 수락됨
답변 있음
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...
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개월 전 | 0
답변 있음
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...
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개월 전 | 0











