Answered
matlab code for a research paper on video summarization
The easiest way to get access to that code is probably to contact the authors directly and ask them if they are willing and able...

8 years ago | 0

| accepted

Answered
How to dynamically set method/class setup parameters
Try this: classdef myTest < matlab.unittest.TestCase properties(ClassSetupParameter) prop1 = foo(); ...

8 years ago | 2

| accepted

Answered
How to prevent Convexhull function data reduction in matlab ?
Concave hulls are ambiguous, though there may be a tool that will help you that I'll mention after the example. Consider this se...

8 years ago | 0

Answered
Using vpa or digits freezes MATLAB and slowly builds up memory usage forever
See <https://www.mathworks.com/matlabcentral/answers/399991-syms-sym-and-mupad-functions-cause-matlab-to-freeze this Answer>.

8 years ago | 0

Answered
How do I change a variable in my workspace?
If you want to change the shape of the array without changing the number of elements, take a look at the |reshape| function. ...

8 years ago | 0

Answered
Anyway to determine if a variable exists in a mat file (in app designer environment)?
Use the <https://www.mathworks.com/help/matlab/ref/matlab.io.matfile.who.html |who|> or <https://www.mathworks.com/help/matlab/r...

8 years ago | 0

Answered
Dynamic variables in loop
Don't create variables named like that. numPlayers = 10; chipCounts = randi([1 100], 1, numPlayers) Now when you want...

8 years ago | 0

Answered
Selecting specific time from date and time array?
Make a |datetime| vector with times spaced 15 minutes apart. N = datetime('now'); hours48 = (N-days(1)):minutes(15):(N+d...

8 years ago | 0

Answered
Matlab freezes when using a piecewise function integration
I'm guessing you're encountering the problem described in <https://www.mathworks.com/matlabcentral/answers/399991-syms-sym-and-m...

8 years ago | 0

Answered
Why can't I write my Matlab file to microsoft word?
If you want to write a Microsoft Word document containing your data, probably the easiest way to do so is to write a script that...

8 years ago | 1

Answered
How to fix the time step in ODE45
Why do you want to fix the time step? If you want to find the solution of the system of ODEs at specific times, you don't nee...

8 years ago | 0

| accepted

Answered
Matalab Functions and mex files
Some of those function files that contain no code are simply the help text for a <https://www.mathworks.com/help/matlab/call-mex...

8 years ago | 1

| accepted

Answered
Using event function in matlab ode45 for multi-dimensional state vector
For the original question, consider the maximum difference between the current state and the desired steady state. When that max...

8 years ago | 0

Answered
How to make ode15s not to cross zero?
Does your problem involve a mass matrix? If not, use the NonNegative option as shown in the Knee Problem example on <https://www...

8 years ago | 0

| accepted

Answered
Run Matlab MCR without setting path environment variable, without admin rights, and for users with little computer experience
From your description, I wonder if something like <https://www.mathworks.com/products/matlab-production-server.html MATLAB Produ...

8 years ago | 0

Answered
How to plot billions of points efficiently?
Consider storing your data as a |tall| array and using the <https://www.mathworks.com/help/matlab/import_export/tall-data-visual...

8 years ago | 0

Answered
Accelerate my code for large array calculation.
Can you describe in a bit more detail exactly what you mean by "find a 54-sized array in a very large array (~1e8)"? When I read...

8 years ago | 0

Answered
Hour function incompatibility between 2017b and 2018a, alternative possibilities?
There are a couple different |hour| functions. The two that are most relevant here are the <https://www.mathworks.com/help/matla...

8 years ago | 0

| accepted

Answered
How can i call class from a function?
_i have a class with private properties and public methods to change the properties._ _I want to call the methods of the clas...

8 years ago | 0

Answered
Is the function Spotlight going to be available for the symbolic math toolbox?
That function was intended to be used in MuPAD notebooks not in the MATLAB Command Window or in the Live Editor. I believe, base...

8 years ago | 0

Answered
excel averageif function in matlab
If you're using release R2018a and your data is stored as a |table|, use |groupsummary|. time = [1; 1; 1; 2; 2; 2; 2; 3; 4;...

8 years ago | 0

Answered
Error in Network Graph
From <https://www.mathworks.com/help/matlab/ref/graph.html the documentation for the |graph| function>, "G = graph(s,t) specifie...

8 years ago | 0

| accepted

Answered
Saving variables from functions to workspace and making the code recognize the function
From <https://www.mathworks.com/help/matlab/matlab_prog/local-functions.html the documentation>: "MATLABĀ® program files can c...

8 years ago | 1

| accepted

Answered
double symsum of matrix not working ?
|symsum| is the wrong tool for this application. You're not performing any symbolic operations here. Just use |sum|. sum(xo...

8 years ago | 0

| accepted

Answered
Creating 1D array from frequency data/histogram?
If you want the resulting array to contain exactly n(1) copies of x(1), n(2) copies of x(2), etc. use the |repelem| function. [D...

8 years ago | 1

Answered
when i opened my matlab it showed a warning. Can somebody tell me what is this and help me to fix this
According to a quick Google search, efmenu is a function from <https://www.mathworks.com/matlabcentral/fileexchange/10176-ezyfit...

8 years ago | 2

Answered
Is there a way to preallocate and efficiently shift entries of a growing list that needs to be kept sorted?
Does the order in which the numbers are obtained matter or do you simply care about how many instances of each were obtained? ...

8 years ago | 0

Answered
can anyone try to solve this error..?? Attempt to reference field of non-structure array.P=tau(i,:).^alpha.eta(i,:).^beta;
You're missing part of an operator between alpha and eta. You probably meant one of the following: P=tau(i,:).^alpha.*eta(i...

8 years ago | 1

| accepted

Answered
matlab OOP how to transfer value from properties to methods ?
>> myObj = OOP_101 myObj = OOP_101 with properties: a: 5 b: 10 >> c = adding(myObj) ...

8 years ago | 1

Answered
Can I reference dates, instead of element index numbers, when referencing a time series?
If you use a |timetable| to store your data instead of a |table|, you could take advantage of |timerange|. % Create a timet...

8 years ago | 1

Load more