Statistiques
RANG
12
of 281 677
RÉPUTATION
17 371
CONTRIBUTIONS
51 Questions
6 495 Réponses
ACCEPTATION DE VOS RÉPONSES
19.61%
VOTES REÇUS
2 616
RANG
of 19 057
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Content Feed
Passing value of Edit Field box in app designer to external function/.m file
The above comment would be the klunky way to fix what you have presently by making the two callbacks work to do the same thing. ...
environ 14 heures il y a | 0
transfer Matlab Workspace to Excel
Easiest would be to use arrays instead of a zillion sequentially named individual variables; associate a string array of names w...
1 jour il y a | 1
| A accepté
Escape characters in compose with array input and minus sign *edit* with "empty" string ""
q = compose("%s%d\\gamma/%s",[" ";"-";"-";" "],transpose(1:4),compose("%d",transpose(5:8))) You are passing an empty string to ...
1 jour il y a | 1
Passing value of Edit Field box in app designer to external function/.m file
"...pass the value from the EditField box to a variable inside a .m file, upon the press of a button" Simply call the function ...
3 jours il y a | 0
zero lag when using xcorr on 2 near-similar, shifted timeseries
load A, load B whos subplot(2,1,1) plot(ADV_sampled) hold on plot(PIV_mag_test) xlim([300 inf]) subplot(2,1,2) plot(ADV_...
3 jours il y a | 0
search last day calendar in several year
"...only changing to two-week difference won't be reliable; it would produce Saturdays two weeks apart, yes, but not only the fi...
4 jours il y a | 1
Using accumarray to organize large CSV
tT=readtable("data1.csv"); tT.Properties.VariableNames(2)={'Site'}; % shorten to be more convenient to use head(tT) G=grps...
4 jours il y a | 0
| A accepté
search last day calendar in several year
Iffen I interpret the request correctly, you want the Saturdays from 2015 thru 2023... dt=[datetime(2015,1,1):days(7):datetime(...
4 jours il y a | 1
| A accepté
How to merge two characters into one in Matlab Simulink
function RC_ROLL = fcn(R) RC_ROLL=double(256*uint16(R(26))+uint16(R(25))); end Of course, that's what your m-file version ...
5 jours il y a | 1
| A accepté
How do I open powerpoint at a specific slide from Matlab?
That will all be answered by the PowerPoint VBA documentation of methods; it's not a MATLAB Q? at all... See https://learn.micr...
6 jours il y a | 0
subtracting consecutive elements from arrays
num = [50 51 53 51 50 55 56 57 53 54 55 56 58 55 54 57 58 59 60 61]; Q = [10 15.8 19.5 19.5 15.8 10 4.1 0.5 0.5 4.1]; d = [dif...
6 jours il y a | 0
| A accepté
app.UIFigure = uifigure(); creates a new UIfigure window and the original app is not accessible through app.UIFigure
If the AppDesigner app main figure were named just UIFigure in the auto-generated startup code function createComponents(app), t...
6 jours il y a | 0
Random number generate - Specific values
V=[7,8.5,9.625,12.25]; % the values to repeat N=5000; % total number wanted RV=repmat(V,1,N/n...
7 jours il y a | 0
| A accepté
How to replace a line in a text file?
text files are sequential files and can't easily be written to in the middle...in MATLAB, the simplest thing to do will be to re...
7 jours il y a | 0
How to use an excel sheet as function?
Have to use COM and send <the Excel instruction to force recalculation>... I'd suggest to move the calculations into MATLAB as ...
8 jours il y a | 2
| A accepté
real or categorical predictors, which one is faster?
Whether to use categorical or continuous variable is context sensitive and should be based on the model intent and interpretatio...
9 jours il y a | 1
| A accepté
Addressing variables with special characters in the name
A brute-force, dead-ahead solution is at <Fix .mat file variable names>. It's simply string substitution...as @Walter Roberson ...
9 jours il y a | 0
How to make same subplot size at different figures regardless of the number of sub-plot?
The simplest would be to create the same number of subplots for all figures, just not use the extra ones. Alternatively, you ca...
9 jours il y a | 1
How do I extract the data corresponding to specific latitude and longitude from this 1x1 structure?
lat=48; lon=11; ixLat=find(GHI.lat==lat); ixLon=find(GHI.lon==lon); vals=GHI.data(ixLat,ixLon);
11 jours il y a | 0
Checking whether excel file is opened?
Excel creates a hidden file of the same base name prefixed with "~$" when it opens a file -- this is the backup copy. This file...
11 jours il y a | 0
"Publish" code with bugs
publish writematrix("A = [1 2; 3];",'trial_script.m','FileType','text') type trial_script.m publish('trial_script.m') While ...
11 jours il y a | 0
| A accepté
trying to find which row this specific date time is at in an excel sheet
Presuming (although you didn't tell/show us) from the "dot" notation you used readtable to load the data into MATLAB, NumRows=h...
11 jours il y a | 1
I want to store the vector from each for-loop iteration, how can I do this?
You're almost there, you've just got to wrap your head around coding in "the MATLAB way"... nR=256; nC=256; % i...
11 jours il y a | 1
| A accepté
I want to find the integration under the exported graph whose function is not known. How to do this?
" I have data points and after plotting the graph i need to find the area under it how do i do that?" <See example at> that is ...
11 jours il y a | 0
How to plot a graph like this??
scatter it is, indeed. From the link, "specify x and y as matrices of equal size. In this case, scatter plots each column of y ...
12 jours il y a | 0
| A accepté
Function "diff" and the loss of an element in the array
diff is defined as x(i+1)-x(i) for i=2:numel(x). But, MATLAB arrays are always 1-based so the result of x(2)-x(1) is in the fir...
12 jours il y a | 0
how do I use importdata() to import specific columns of data from a .txt file?
importdata returns an array, not a struct nor table -- it has its uses, but I generally avoid it for more specific functions tha...
13 jours il y a | 0
Pass input arugments in .exe file generated by Matlab coder
<You must modify a main.c> function to read/use an argument list when creating a standalone executable; it doesn't happen by def...
15 jours il y a | 0
| A accepté
readtable(html file) producing extra empty columns
Use 'SelectedVariableNames' with the variable(s) desired I can't tell what you want, specifically, there's a comment to read on...
15 jours il y a | 0
How do I add these two variables? i keep on getting an error.
We don't know enough to be complete, but assuming the two input values are numeric, then function AddButtonPushed(app, event) ...
16 jours il y a | 0