Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 1

Answered
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; ...

10 years ago | 2

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

Answered
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

10 years ago | 1

| accepted

Answered
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...

10 years ago | 0

Answered
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>>

10 years ago | 11

| accepted

Answered
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...

10 years ago | 0

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

10 years ago | 0

Answered
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 ...

10 years ago | 0

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 2

| accepted

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 0

| accepted

Answered
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...

10 years ago | 0

Answered
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 ...

10 years ago | 2

| accepted

Answered
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 ...

10 years ago | 0

Answered
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...

10 years ago | 0

Answered
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....

10 years ago | 0

| accepted

Answered
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...

10 years ago | 1

Answered
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...

10 years ago | 0

| accepted

Answered
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'}

10 years ago | 0

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

11 years ago | 0

| accepted

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

11 years ago | 0

Answered
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...

11 years ago | 0

| accepted

Answered
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 ...

11 years ago | 0

| accepted

Answered
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...

11 years ago | 1

| accepted

Load more