Statistiques
RANG
5
of 301 511
RÉPUTATION
36 073
CONTRIBUTIONS
4 Questions
9 249 Réponses
ACCEPTATION DE VOS RÉPONSES
75.0%
VOTES REÇUS
5 976
RANG
59 of 21 308
RÉPUTATION
13 938
CLASSEMENT MOYEN
5.00
CONTRIBUTIONS
22 Fichiers
TÉLÉCHARGEMENTS
560
ALL TIME TÉLÉCHARGEMENTS
103630
RANG
of 174 936
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
3 Points forts
NOMBRE MOYEN DE LIKES
33
Feeds
Using timeit() in the debugger causes function speedup until edits are made
This behaviour is almost certainly due to MATLAB's JIT (Just-In-Time) engine: https://blogs.mathworks.com/loren/2016/02/12/run-...
3 jours il y a | 1
Want to know the output format of audioread of .wav file captured by hydrophone
Short Answer: the default mode is normalized (dimensionless), NOT Volts or Pascals. MATLAB's audioread in default mode reads th...
6 jours il y a | 1
| A accepté
How to correct the grouping variables in splitapply ?
The error is coming from this line: weightpercentages = [app.Callingapp.Osmotisk_data.Weight_percent_best_salt_1 app.Callingapp...
9 jours il y a | 0
| A accepté
plsrectify the error in my code
The error occurs because READTABLE returns a table object, and you cannot extract the content from a table using parentheses lik...
9 jours il y a | 1
| A accepté
Restarting background data acquisition when going back - multiple mlapp files
dpb has the right idea. Using an explicit polling loop (while/pause) to watch for the closure of the child screen adds unnecessa...
10 jours il y a | 1
| A accepté
write different data types to excel sheet
"It appears to be stored as cell data" It is clearly stored as a string array: S = load('Variable.mat') S.line0 T = array2ta...
15 jours il y a | 1
Matrix 10x10 with same number in each row by column.
Method 1: REPMAT: M = repmat(1:10,10,1) Method 2: MTIMES: M = ones(10,1)*(1:10) Method 3: MAX M = max(zeros(10),1:10) Meth...
18 jours il y a | 2
| A accepté
Trying to solve for a number of variables in a matrix. Getting a structfun error.
You have 9 equations but only 8 unknowns (u2–u9). Since u1=0 is already substituted in, MATLAB's solve sees an overconstrained s...
24 jours il y a | 0
Efficient overlapping block processing with nested sub blocks (similar to im2col with stride)
Your reshape/permute chain is working backwards: you're extracting in the "wrong" order and then correcting it. The cleaner appr...
26 jours il y a | 2
| A accepté
Nested tiledlayout: can parent tiles have different widths depending on number of child tiles?
I don't think there is an automatic way to do this, but you could specify the TileSpan to achieve (approximately) equal sizes. ...
29 jours il y a | 0
Reading a string & sorting it into usable variables
Create demo file: writelines({'Layup: [45/-45/0/90/90/0/-45/45]','Ply thickness: [0.18/0.18/0.18/0.18/0.18/0.18/0.18/0.18]','El...
29 jours il y a | 0
How do I insert the comma marker for thousands into large numbers while printing to file or Command Line in MATLAB 7.7 (R2008b)?
Assuming that you have already converted to text: A = '1200387'; F = @(t) regexprep(t,'(?<!(\.|[eE][-+]?)\d*)\d{1,3}(?=(\d{3})...
30 jours il y a | 0
Inserting a 1000 separator
Assuming that you have already converted to text: A = '11201453.21'; F = @(t) regexprep(t,'(?<!(\.|[eE][-+]?)\d*)\d{1,3}(?=(\d...
30 jours il y a | 0
how to set 1000 separator for large numbers in GUI MATLAB
No FLIPLR required: F = @(t) regexprep(t,'(?<!(\.|[eE][-+]?)\d*)\d{1,3}(?=(\d{3})+(e|E|\.|\>))', '$&,'); And tested: F('1 1...
environ un mois il y a | 1
Method lookup in multiple inheritance
f(d) class(d) Compare: classdef d < a % what you wrote in your question. classdef d < b & c % what the file actually con...
environ un mois il y a | 0
| A accepté
Weird Behaviour of Parallel Processing when Using BlockProc
I doubt that your example is good use of the parallel toolbox. Parallel code can be slower than serial code due to high communic...
environ un mois il y a | 0
| A accepté
problem exporting figure to a single channel
plot(rand(7,3)) F = getframe(figure(1)); I = im2gray(F.cdata); imwrite(I,'test.png') size(I) clearvars J = imread('t...
environ un mois il y a | 0
How to find and utilize a "built-in method % static method or namespace function"
Yes, your interpretation is correct. The output: tifflib is a built-in method % static method or namespace function means tha...
environ un mois il y a | 0
| A accepté
Error Saving Fig with complicated filename
"is there a reason why a matlab figure won't save when the filepath is like this" Yes, because colons are not valid in MS Windo...
environ un mois il y a | 1
| A accepté
Extracting from cell arrays using a nested loop
The issue is that subData{c} is being overwritten on each iteration of k, whereas you need to index into both dimensions (c and ...
environ un mois il y a | 0
| A accepté
Question about loading multiple files
"What am I missing?" You are missing the fact that this line FILES= DIR_STR.name defines a comma-separated list: https://ww...
environ 2 mois il y a | 3
| A accepté
fit function - Incorrect number or types of inputs or outputs for function fit.
@Kevin: you do not have FIT from the Curve Fitting Toolbox listed. Check your licenses online: https://www.mathworks.com/help/m...
environ 2 mois il y a | 0
| A accepté
I need my code to work/dont know what is going wrong.
Explanation There are a few clear bugs causing your problems. Let me walk through each one. Bug 1: The function is called twic...
environ 2 mois il y a | 1
| A accepté
Loss of precision in wave equations
This is expected behavior. By default MATLAB uses IEEE 754 double precision. This has finite precision and cannot exactly repre...
environ 2 mois il y a | 1
| A accepté
Error when using logical indexing to get a value from a table
"Operator '==' is not supported for operands of type 'cell'." Why are you using a cell array to store scalar numeric data? "I ...
2 mois il y a | 0
| A accepté
Please help me to run this simple code
You're missing the multiplication operator * in several places. Here's the corrected code with the missing * operators added: p...
2 mois il y a | 0
| A accepté
How do I include a header file in MATLAB code?
Simple: write a script and call/run that at the top of your code: https://www.mathworks.com/help/matlab/scripts.html https://w...
2 mois il y a | 0
Generated "*.m" file could not be real time updated
For performance MATLAB caches executed functions and scripts. To clear that script from the cache call CLEAR: filename = 'a.m';...
2 mois il y a | 0
| A accepté
General Blockproc questions that aren't in the documentation
1) The output placement is always deterministic (each block goes back to its original spatial position). The order in which you...
3 mois il y a | 0
| A accepté
Dealing with Duration format
F = 'AdaptationTestProva.csv'; H = readtable(F, 'Delimiter',',', 'Range','1:2'); T = readtable(F, 'Delimiter',{',',':'}, 'Head...
3 mois il y a | 0
| A accepté











