답변 있음
How to calculate skewness and kurtosis via 'groupsummary'?
Presuming you have the Statistics Toolbox which defines the two statistics of interest m-files-- G = groupsummary(T,groupvars,m...

약 1달 전 | 0

답변 있음
Set the properties of a class by reading values from initialization file
Why isn't it just the GetValues method? function [values, status] = GetValues(obj, section_name, key_names, default_values) %...

약 1달 전 | 0

| 수락됨

답변 있음
Datastore for reading large binary files versus incremental fread
Basically, the datastore objects are higher-level abstractions for more general file collections. If you can read a portion of ...

약 1달 전 | 0

답변 있음
Undefined function 'wprec2' for input arguments of type 'double'.
Without the actual code sequence we can't tell but the doc for wprec2 says it expects a wavelet packet tree object. If you've ...

약 1달 전 | 1

| 수락됨

답변 있음
How do I cite Genetic Algorithm in a published journal or paper, because I use it in my code and I wrote about the documentation in my thesis so I want to cite it?
<Mathworks.com How-do-i-cite-matlab-in-a-bibliography-or-a-published-journal?> is the corporate answer; your institution undoubt...

약 1달 전 | 0

답변 있음
How to get non interger numbers in Wilkinson notation using fitlm
Can't be done with Wilkinson notation -- it only includes integral powers. In this regard, note that "The * operator (for inter...

약 1달 전 | 0

답변 있음
error bar plot using double y axis
You could, sure, but to make things line up, you'd have to do something like scale the RH axes by 100 for those points to line u...

약 1달 전 | 0

| 수락됨

답변 있음
Function syntax / execution
" (pretty much ignored the input values in the command line and took the input from the input files)" No "pretty much" about it...

약 1달 전 | 1

답변 있음
scatter map with different markers
Call scatter once for each group with the chosen marker; save the handle array to the scattergroup objects returned. legend will...

약 1달 전 | 0

| 수락됨

답변 있음
converting an excel formula into matlab
resV = vecnorm(vel,2,2); % 2-norm by row time = 1:1935804.'; % dunno what time represents, use a tim...

약 1달 전 | 0

답변 있음
How to update the Struct value in the workspace from the MATLAB GUI app designer?
A struct variable is a variable, just as any other... function testit(s) v=inputname(1); s.year=s.year+10; assignin('b...

약 1달 전 | 0

| 수락됨

답변 있음
Add Cells/Matrices Row by Row
"matrix of about 600,000 rows and 14 columns. This data is a 6000 different bins with 100 columns each. So what I am trying to d...

약 2달 전 | 0

답변 있음
Trouble with for-loop and fft
What's the purpose of the loop over k? You have the time history apparently as variable x_0_003 in the table which one presumes...

약 2달 전 | 0

답변 있음
fprintf uiputfile of multiselect data file doesnt work....
fprintf(fout,'%s %f %f\n',ntropy, komph(:), kompf(:));% This is the [expletive deleted--dpb] output that brings me so confused ...

약 2달 전 | 0

답변 있음
Performing multiple Operating system commands in a loop
First, you're using the command form and the ! operator, not the functional form for system() command so as the message is telli...

약 2달 전 | 0

답변 있음
How can I change bar graph x-axis?
[a,ia] = sort(Scores_Avg,2,'descend'); % use more meaningful index variable bar(a) % ...

약 2달 전 | 0

| 수락됨

답변 있음
Preallocating str for speed
No loop needed here -- using relationship to ASCII coding and that MATLAB char() strings are just arrays, write T='95675467427...

약 2달 전 | 0

답변 있음
How to code a faster loop
The biggest slowdown in your code above is you haven't preallocated any of the arrays x, y, xt, yt, s, data so they're all being...

약 2달 전 | 1

| 수락됨

답변 있음
Looking for a faster way of finding the first element larger than a given number in a sorted array
With the JIT compiler, loops are pretty quick any more...in fact, with the starting point as the beginning loop index, that may,...

약 2달 전 | 2

| 수락됨

답변 있음
How to find y-axis data for a certain x-axis value
Your X variable is repeating in sets of three so when you use all 12 elements as a vector it's multi-valued in y. interp1 then ...

약 2달 전 | 0

답변 있음
Splitting a file into multiple files based on trigger words in the first column.
This is where a filter is probably best given size of file and unknown numbers between sections...and since don't need to have a...

약 2달 전 | 0

답변 있음
Why does my MATLAB icon look like a sheet of paper?
See <Why-does-my-matlab-icon-look-like-a-sheet-of-paper-on-my-windows-based-computer?> In short, somehow the link to the defaul...

약 2달 전 | 0

| 수락됨

답변 있음
for loop help with loop range
" extract data of the first 3 columns (x,y,z) for sensorIdx 1,2,5,6,7. For sensorIdx 3 and 4 I want to extract columns 5,6 (x,y)...

약 2달 전 | 0

답변 있음
how to extract "F-statistic vs. constant model" value for fitnlm programmatically
For some unknown reason, TMW didn't package the summary statistics with the model -- you have to run anova on the returned model...

약 2달 전 | 0

답변 있음
Inverting curves colors when the distance of their points is 0
Probably simplest is to just plot a new set of curves of the chosen color where the logical indices are -- each present line is ...

약 2달 전 | 0

| 수락됨

답변 있음
Speedup table lookup / interpolation
Slight alteration; didn't try to time it... [~,ix]=min(sum(abs(states_list-state),2)); is same computationally... >> x=randi(...

약 2달 전 | 0

답변 있음
How to fix the "Improper index matrix reference" error in my Data Extraction coding?
hF=openfig('NF power_Aulayers_etch_glass-by-glass_xz.fig'); hAx=hF.Children; % the axes object handle hS=hAx.Children; ...

약 2달 전 | 0

답변 있음
How to pre-select a value in a list box (GUI)
You mean a listdlg box? The 'InitialValue' property (default value 1) is the index to the selected element(s) when the box is o...

약 2달 전 | 0

답변 있음
creating a loop for a specific computation
OK, just making sure...although it may be interesting, still not positive it's of all that much use in the end...to collect data...

약 2달 전 | 1

| 수락됨

더로드