統計
All
Content Feed
回答済み
How to make an app that does not loose data when it's closed?
Do you want/need the UITable to contain the previous data, too? Or just add onto the saved data what is new in the user table e...
How to make an app that does not loose data when it's closed?
Do you want/need the UITable to contain the previous data, too? Or just add onto the saved data what is new in the user table e...
17日 前 | 0
| 採用済み
回答済み
Why does C{1}(1) work but C(1){1} results in an invalid array index error in MATLAB?
If you haven't yet, read <Access Data in Cell Array>. The reason is the cell contains an array; you must first dereference the ...
Why does C{1}(1) work but C(1){1} results in an invalid array index error in MATLAB?
If you haven't yet, read <Access Data in Cell Array>. The reason is the cell contains an array; you must first dereference the ...
29日 前 | 1
| 採用済み
回答済み
How can I selectively multiplying the negative values with (-1) in an excel file?
data=readmatrix('yourExcelfile.xlsx'); isneg=(data(:,2)<0); data(isneg,2)=-data(isneg,2); "Use the Force, Luke!" Here "the F...
How can I selectively multiplying the negative values with (-1) in an excel file?
data=readmatrix('yourExcelfile.xlsx'); isneg=(data(:,2)<0); data(isneg,2)=-data(isneg,2); "Use the Force, Luke!" Here "the F...
約1ヶ月 前 | 0
回答済み
Remove Rows/Columns from Binary Image Matrix
A(:, (columns I want to remove))=[]. will remove everything from the top of the array to the bottom -- if there is a "spot" any...
Remove Rows/Columns from Binary Image Matrix
A(:, (columns I want to remove))=[]. will remove everything from the top of the array to the bottom -- if there is a "spot" any...
約1ヶ月 前 | 0
| 採用済み
回答済み
Matlab generate normal random sample with outliers
The funny thing about random sampling is that it is, well, random. You're resampling with replacement so it is possible to pick...
Matlab generate normal random sample with outliers
The funny thing about random sampling is that it is, well, random. You're resampling with replacement so it is possible to pick...
約1ヶ月 前 | 1
回答済み
how to make strips of different colors and sizes in a bar plot?
It's been a notable hole in MATLAB graphics from the beginning that there are no builtin hatching patterns available; I've raile...
how to make strips of different colors and sizes in a bar plot?
It's been a notable hole in MATLAB graphics from the beginning that there are no builtin hatching patterns available; I've raile...
約1ヶ月 前 | 1
回答済み
I want a table of values (frequency versus power) for a cpsd plot
Read the doc for cpsd, examples illustrate using the outputs for plotting of various types...specifically the forms of the type ...
I want a table of values (frequency versus power) for a cpsd plot
Read the doc for cpsd, examples illustrate using the outputs for plotting of various types...specifically the forms of the type ...
約1ヶ月 前 | 0
回答済み
I wanted to apply the chi-squared function with the return of the p-value, but matlab's chi2cdf function only returns zero.
% Example data matrix (2000 rows and 9 columns) data_matrix = randi([0, 10], 2000, 9); % Replace this with your actual data ...
I wanted to apply the chi-squared function with the return of the p-value, but matlab's chi2cdf function only returns zero.
% Example data matrix (2000 rows and 9 columns) data_matrix = randi([0, 10], 2000, 9); % Replace this with your actual data ...
約1ヶ月 前 | 2
| 採用済み
回答済み
why does the figure doesnt show the two vectors?
%Links length L1=5; L2=1; L3=5; L4=7; AP=5; % ternary link angle (degree) delta=50; th2= 0:1.2:360; range_th2=300; RP=ze...
why does the figure doesnt show the two vectors?
%Links length L1=5; L2=1; L3=5; L4=7; AP=5; % ternary link angle (degree) delta=50; th2= 0:1.2:360; range_th2=300; RP=ze...
約1ヶ月 前 | 1
回答済み
What frustrates you about MATLAB? #2
>> tAdd.IP=7; To assign to or create a variable in a table, the number of rows must match the height of the table. >> No au...
What frustrates you about MATLAB? #2
>> tAdd.IP=7; To assign to or create a variable in a table, the number of rows must match the height of the table. >> No au...
約1ヶ月 前 | 0
回答済み
Upper limit on the number of UIAxes children allowed
Don't call plot3 (or friends) multiple times for such, update the data properties of the one having been called or use the anima...
Upper limit on the number of UIAxes children allowed
Don't call plot3 (or friends) multiple times for such, update the data properties of the one having been called or use the anima...
約1ヶ月 前 | 0
回答済み
Change properties in gscatter, based on the group label
load carsmall subplot(1,2,1) gscatter(Displacement,Horsepower,Model_Year) % default appearance subplot(1,2,2) hGSC=gscatter...
Change properties in gscatter, based on the group label
load carsmall subplot(1,2,1) gscatter(Displacement,Horsepower,Model_Year) % default appearance subplot(1,2,2) hGSC=gscatter...
約1ヶ月 前 | 1
| 採用済み
回答済み
How to change position of both ylabels in yyaxis left, within a subplot enrivonment?
hAx=subplot(3,2,1); yyaxis left plot(rand(10,1),'bx-') hLabL=ylabel('Yleft') yyaxis right plot(rand(10,1),'ro-') hLabR=yla...
How to change position of both ylabels in yyaxis left, within a subplot enrivonment?
hAx=subplot(3,2,1); yyaxis left plot(rand(10,1),'bx-') hLabL=ylabel('Yleft') yyaxis right plot(rand(10,1),'ro-') hLabR=yla...
約1ヶ月 前 | 1
| 採用済み
質問
Retrieve Compiled App Project Info at Runtime
<This Question> asked about retrieving version from compiled app; TMW Staff answered on Windows only by getting the details of t...
約1ヶ月 前 | 1 件の回答 | 0
1
回答回答済み
How can I mark the central point in annotate box
I=imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1524096/image.png'); imshow(I) figure colormap gray ...
How can I mark the central point in annotate box
I=imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1524096/image.png'); imshow(I) figure colormap gray ...
約1ヶ月 前 | 0
回答済み
Regression function NaN r values
A = importdata("Fundicion_gris.txt"); B = importdata("Acero_embuticion.txt"); sigma_mpa_embuticion = B.data(:, 1); epsilon_l_...
Regression function NaN r values
A = importdata("Fundicion_gris.txt"); B = importdata("Acero_embuticion.txt"); sigma_mpa_embuticion = B.data(:, 1); epsilon_l_...
約1ヶ月 前 | 0
| 採用済み
回答済み
Error using matlab.internal.math.interp1, Sample points must be unique.
As the follow on comment above shows, you can safely ignore the duplicate points and retain the original function -- use [~,iu]...
Error using matlab.internal.math.interp1, Sample points must be unique.
As the follow on comment above shows, you can safely ignore the duplicate points and retain the original function -- use [~,iu]...
約2ヶ月 前 | 0
回答済み
Streamlining of zeroing out last 2 bits of fixed 16 bit number?
I have no knowledge of how Fixed-Point Designer stores stuff, but can you not do something like x=bitand(x,0xFFFC) ?
Streamlining of zeroing out last 2 bits of fixed 16 bit number?
I have no knowledge of how Fixed-Point Designer stores stuff, but can you not do something like x=bitand(x,0xFFFC) ?
約2ヶ月 前 | 1
回答済み
Is it possible to use gscatter in matlab app designer?
Works with R2021b; I do not know at what release the support for uiaxes was introduced; used to be able to get to the doc for ...
Is it possible to use gscatter in matlab app designer?
Works with R2021b; I do not know at what release the support for uiaxes was introduced; used to be able to get to the doc for ...
約2ヶ月 前 | 0
回答済み
Is "Undocumented Secrets of MATLAB Java Programming" by Yair Altman still up to date?
<Mathworks is abandoning Java>, going forward, <Java will be just another external language>. There's no incentive to go down t...
Is "Undocumented Secrets of MATLAB Java Programming" by Yair Altman still up to date?
<Mathworks is abandoning Java>, going forward, <Java will be just another external language>. There's no incentive to go down t...
約2ヶ月 前 | 0
回答済み
Could someone please assist me? My code for the buck-boost converter controller isn't working properly when I run it.
<We already told you> this was going to be a problem but you didn't pay attention... if inputVoltage == 0.3 || inputVoltage == ...
Could someone please assist me? My code for the buck-boost converter controller isn't working properly when I run it.
<We already told you> this was going to be a problem but you didn't pay attention... if inputVoltage == 0.3 || inputVoltage == ...
約2ヶ月 前 | 0
| 採用済み
回答済み
How do I extract the audiodata from a struct that I got from dir(fullfile.....
"how do I get the audiodata from within the struct that is created by dir(..." See dir documentation; dir() doesn't return file...
How do I extract the audiodata from a struct that I got from dir(fullfile.....
"how do I get the audiodata from within the struct that is created by dir(..." See dir documentation; dir() doesn't return file...
約2ヶ月 前 | 2
| 採用済み
回答済み
extracting rows of data
% % Find the indices within the specified range % indices = (data(:, 1) >= minVoltage) & (data(:, 1) <= maxVoltage); % % Extra...
extracting rows of data
% % Find the indices within the specified range % indices = (data(:, 1) >= minVoltage) & (data(:, 1) <= maxVoltage); % % Extra...
約2ヶ月 前 | 1
回答済み
How to iterate through a cell array and link elements in particle tracking?
I don't have time at the moment to attack in earnest, but I'd probably start by simplifying and instead of trying to make it all...
How to iterate through a cell array and link elements in particle tracking?
I don't have time at the moment to attack in earnest, but I'd probably start by simplifying and instead of trying to make it all...
約2ヶ月 前 | 0
回答済み
Hello, if you have a moment, I could use your help in resolving this error.
inputVoltage=0.3; [q1, q2, q3, q4]=buckBoostControl(inputVoltage) function [q1, q2, q3, q4] = buckBoostControl(inputVoltage, ~...
Hello, if you have a moment, I could use your help in resolving this error.
inputVoltage=0.3; [q1, q2, q3, q4]=buckBoostControl(inputVoltage) function [q1, q2, q3, q4] = buckBoostControl(inputVoltage, ~...
約2ヶ月 前 | 1
回答済み
Error Exporting Table Using Parquetwrite (multidimensional array)
parquetwrite load gTruth for i=1:height(gTruth), gTruth.Apple(i)={gTruth.Apple{i}(:)};end parquetwrite('test.parq',gTruth) t...
Error Exporting Table Using Parquetwrite (multidimensional array)
parquetwrite load gTruth for i=1:height(gTruth), gTruth.Apple(i)={gTruth.Apple{i}(:)};end parquetwrite('test.parq',gTruth) t...
約2ヶ月 前 | 0
| 採用済み
回答済み
how to fix this error ?
Well, you'll have to understand the role of the adjacency matrix in Algorithm 2 in the following paper: R. Shafipour, A. Khodab...
how to fix this error ?
Well, you'll have to understand the role of the adjacency matrix in Algorithm 2 in the following paper: R. Shafipour, A. Khodab...
約2ヶ月 前 | 0
回答済み
Plot multiple columns of table with datetime
Use a @doc:timetable instead and then geth stackedplot for free that does it all for you. Use the target figure/panel to place ...
Plot multiple columns of table with datetime
Use a @doc:timetable instead and then geth stackedplot for free that does it all for you. Use the target figure/panel to place ...
約2ヶ月 前 | 0
回答済み
HOW TO MAKE THE nan VALUE DISAPPEAR from my extraction, I also like someone to help me make a dynamic figure representing the evolution of the wind per day.
unzip('wind1.zip') d=dir('w*.nc'); info=ncinfo(d(1).name); info.Variables(:).Name t=ncread(d(1).name,'time'); Wind=ncread(d...
HOW TO MAKE THE nan VALUE DISAPPEAR from my extraction, I also like someone to help me make a dynamic figure representing the evolution of the wind per day.
unzip('wind1.zip') d=dir('w*.nc'); info=ncinfo(d(1).name); info.Variables(:).Name t=ncread(d(1).name,'time'); Wind=ncread(d...
約2ヶ月 前 | 0
回答済み
How do I get ply file imports using App designer
% Button pushed function: Button function ButtonPushed(app, event) [f,d]=uigetfile('*.ply','Get PLY File'); ...
How do I get ply file imports using App designer
% Button pushed function: Button function ButtonPushed(app, event) [f,d]=uigetfile('*.ply','Get PLY File'); ...
約2ヶ月 前 | 0