Respondida
Less than what number in the file ht could give 95%?
You should be able to use <http://www.mathworks.com/help/releases/R2015a/stats/prctile.html |prctile|> for this. x = rand(1...

alrededor de 11 años hace | 0

Respondida
How to return only one of multiple identical max/min values?
This is what the |max| and |min| function both do. Can you provide a minimal working example of what you have, what you want, a...

alrededor de 11 años hace | 1

Respondida
Organize several figures using tabs or docked figure
You just need to add tabs to the tab group. Here is an example not changing any titles/labels/sizes etc. tg = uitabgroup; ...

alrededor de 11 años hace | 2

Respondida
How to add: min, max, mean, median, st dev values to histogram legend
I'd contact tech support if the crash is reproducible. A minimal working example works for me: histogram(rand(100,1)) a...

alrededor de 11 años hace | 0

Respondida
Should parallelization be switched on manually
If you have the Parallel Computing Toolbox, you can turn on Parallel Computing using the _'UseParallel'_ flag in optimset (or op...

alrededor de 11 años hace | 0

Respondida
special sum of an array
That's a cumulative sum, |cumsum| is the function you want: a = [1 2 3] cumsum(a) ans = 1 3 6

alrededor de 11 años hace | 1

| aceptada

Respondida
How to use parameterized TestCase
Set it up in a (TestClassSetup) method (so it gets set up before any tests run) and store it as an object property for the remai...

alrededor de 11 años hace | 0

Respondida
Hovering mouse over a variable no longer shows present value in R2015a (student) upgrade?
Checkbox in preferences: <</matlabcentral/answers/uploaded_files/33412/2015-06-29_21-54-27.png>>

alrededor de 11 años hace | 11

| aceptada

Respondida
overhead communication in Parfor
Since your matrix is not that big, one approach would be to replicate it to be a 64x128 where each column is the values you want...

alrededor de 11 años hace | 0

Respondida
loading mixed data (csv format) using Textscan
Have you tried using the import tool (Import Data button on the home tab)?

alrededor de 11 años hace | 0

Respondida
how to reduce the calculation time when calling a .exe file from a MATLAB function
Without knowledge of how the exe works this is hard to answer. One thing you might want to try, if you are calling the exe ...

alrededor de 11 años hace | 0

Respondida
how to assign increse/decrease values from arrowkeys
This can't be done with arrow keys, but can be done by putting the cursor on the number, right-clicking and selecting "Increment...

alrededor de 11 años hace | 0

Respondida
Dots!, Dots!, Dots! What are they doing!?
It's an "ellipsis" <http://www.mathworks.com/help/releases/R2015a/matlab/matlab_prog/continue-long-statements-on-multiple-lin...

alrededor de 11 años hace | 0

Respondida
Is it possible to call a function that doesn't have precedence?
You could put it in a package and then import the package (import pack.somefunc) or call directly into the package (pack.somefun...

alrededor de 11 años hace | 2

| aceptada

Respondida
Export/Print entire system including contents of subsystems
Sounds like you might be interested in <http://www.mathworks.com/products/SL_reportgenerator/ Simulink Report Generator> I do...

alrededor de 11 años hace | 0

Respondida
Using reshape to get a block averaging of data when it is not divisible by the block?
If you have the Image Processing Toolbox, you could use |blockproc| for this. % data x = rand(1086,104); % Mean bl...

alrededor de 11 años hace | 0

| aceptada

Respondida
Dfiference between euclidean and distance function using MAPPING toolbox for latitude and longitude calulation??
Pretty much everywhere. One is a measurement on the surface of a sphere or an ellipsoid. The other is the straight distance be...

alrededor de 11 años hace | 0

Respondida
Remove duplicates from table with string, datetime, double
unique sees nans as not equal isequal(nan,nan) ans = 0 You'll need to replace them with something else or ignore ...

alrededor de 11 años hace | 2

| aceptada

Respondida
Strange behavior with subs (symbolic substitute)
You need to just specify _which_ variable is being substituted and then do the value. subs(a*b^4, b, sqrt(5)) And for ...

alrededor de 11 años hace | 0

Respondida
Is there a way to delete select frames from a tiff file?
Short Answer, No. Why do you want to delete the frames? Long Answer: A few options MATLAB does give you access to LibTi...

alrededor de 11 años hace | 0

Respondida
How can I change color in barh graph
You modify the _'FaceColor'_ of the bar: h = barh(rand(4,2),'stacked') h(1).FaceColor = 'r'; % color h(2).FaceColor = [0....

alrededor de 11 años hace | 0

| aceptada

Respondida
A optimization problem with constraints
You'll have to use a nonlinear constraint on x, i.e. it fails if z is outside of range. <http://www.mathworks.com/help/releas...

alrededor de 11 años hace | 1

Respondida
Is Matlab working on speeding up the editor with large .m files?
Matt, See this thread: <http://www.mathworks.com/matlabcentral/answers/13577> The suggestion to use exit, helps a fair amo...

alrededor de 11 años hace | 0

| aceptada

Respondida
Is it possible to change label names in Matlab
Adjust the axes' _'YTickLabel'_ property: barh(rand(3,1)); ax = gca; ax.YTickLabel = {'Hello','World','Wednesday'}

alrededor de 11 años hace | 0

Respondida
managing year and months
doc datetime Now: Mdt = datetime(M)

alrededor de 11 años hace | 0

| aceptada

Respondida
Indexing letters and numbers in strings
Skema3 ={ '0' '1' '2' '3' '4' '5' '6' '1' 'L22' 'P8' '1' 'P0' '0...

alrededor de 11 años hace | 0

Respondida
Finding nanmedian of a 3D array.
You have brackets [] instead of parenthesis () This should do it; you can use 1:5 and take nanmedian along third dimension to...

alrededor de 11 años hace | 0

| aceptada

Respondida
How to deploy Standalone applications
That looks like a licensing issue. What's the output from: which -all deploytool Does it say "No License Available" or ...

alrededor de 11 años hace | 0

| aceptada

Respondida
How to generate random number from cumulative distribution function (CDF) in Matlab
doc slicesample doc random

alrededor de 11 años hace | 0

Respondida
Test if toolbox is installed
The license name is usually one or two words , so for stats, it will still be _Statistics_Toolbox_ license('test','statisti...

alrededor de 11 años hace | 1

| aceptada

Cargar más