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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 1

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

etwa 11 Jahre vor | 2

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

Beantwortet
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

etwa 11 Jahre vor | 1

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 11

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 2

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 2

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 1

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 1

| akzeptiert

Mehr laden