Answered
Computing a weighted sum of matrices
If you're using a release that supports <https://www.mathworks.com/help/matlab/release-notes.html?rntext=%22implicit+expansion%2...

8 years ago | 0

Answered
using fminsearch--how to realize the display of the x values in every step of iteration?Thank you!!!
See the examples in <https://www.mathworks.com/help/matlab/math/output-functions.html this page in the documentation>. You ca...

8 years ago | 2

Answered
ODE45 & heaviside- [Inputs must be floats, namely single or double.]
The |ode45| function cannot accept functions that return a |sym| object as the first input to |ode45|. You could use symbolic ca...

8 years ago | 0

| accepted

Answered
Error in symbolic engine with latest R2018a Trial
Are you using Windows 10 Spring Creator Update 2018? If so see <https://www.mathworks.com/support/bugreports/1755918?s_tid=answe...

8 years ago | 1

Answered
Define matlab functions with input selected from a "list"
If I understand your description correctly, it sounds like you want to implement tab completion for your function. If you're usi...

8 years ago | 0

Answered
B = A(abs(diff(A))); i want to find the abs difference of 08 values
You've likely created variables named abs and/or diff. Rename those variables and you will be able to use the |abs| and |diff| f...

8 years ago | 0

| accepted

Answered
query regarding while loop application
I think what you want is the <https://www.mathworks.com/help/matlab/ref/discretize.html |discretize| function>, though the fact ...

8 years ago | 0

Answered
I have the symbolic math toolbox, but 'syms' isn't working. How can I fix this?
Are you using Windows 10 Spring Creator Update 2018? If so see <https://www.mathworks.com/support/bugreports/1755918 Bug Report ...

8 years ago | 1

| accepted

Answered
Handle invalid fieldnames when parsing python dict to matlab via struct
If you can get a list of the names in your dict object that you want to be the fieldnames in the MATLAB |struct| array, pass the...

8 years ago | 0

Answered
Calculating the probability of a data point in a histogram
Change the Normalization property of the |histogram| object then get the appropriate element of the Values property of that obje...

8 years ago | 0

| accepted

Answered
Not able to access functions in Matlab 2018a
Those functions are helpers for the example and are mainly intended to be used by the example, not reused for general purposes. ...

8 years ago | 0

Answered
Populating a Legend Dynamically
Rather than building a large cell array of names that you pass into |legend|, I would instead use the DisplayName property of th...

8 years ago | 0

Answered
I have to solve a numerical solution for the internal ballistics of a 40mm grenade launcher. I am struggling to get the ode45 solver to run my function. This is only a very simple version of the problem to get the simulation running.
At first glance, these lines look suspicious. V = A(xp + xB); P = P0(V0/V)^gam - Pa; Do you really mean to use the qu...

8 years ago | 0

| accepted

Answered
Memory in Matlab 2015b 32-bit OS is very limited. How can I allot more memory for it to use?
Switch to a 64-bit version of MATLAB on a 64-bit OS. See <https://www.mathworks.com/help/releases/R2015b/matlab/matlab_prog/reso...

8 years ago | 0

Answered
How do I calculate 30-min averages from 1-min data with gaps?
If you're storing your data in a |timetable|, use the |retime| function as shown <https://www.mathworks.com/help/matlab/matlab_p...

8 years ago | 0

| accepted

Answered
How to create a Matlab module
I have access to a copy of the current release with *all* the products, and like Walter I cannot find any module function in the...

8 years ago | 0

Answered
Whenever I type in syms x and run it, Matlab seems like it's being looped and I also can't stop it. How do I fix it?
Are you using Windows 10 Spring Creator Update 2018? If so see <https://www.mathworks.com/support/bugreports/1755918 Bug Report ...

8 years ago | 2

| accepted

Answered
fcontour error: not enough input arguments
What requirements does the <https://www.mathworks.com/help/matlab/ref/fcontour.html documentation for the |fcontour| function> s...

8 years ago | 0

Answered
5G Library demo from Math-works webinar
There's a slide titled "How to get the 5G library?" at around 24:11 of the webinar that contains instructions.

8 years ago | 0

| accepted

Answered
Auto-enforce matlab editor auto indentation?
There is <https://www.mathworks.com/matlabcentral/answers/366464-documentation-of-editor-api an API> that allows you to interact...

8 years ago | 3

| accepted

Answered
I want to use timer object in Matlab Mobile while connected using matlab cloud, but it not work when i execute start () function except one. what can i do an other way execute after a while continuously? Thanking in advance.
Did you set the ExecutionMode property of the <https://www.mathworks.com/help/matlab/ref/timer-class.html |timer| object> to a v...

8 years ago | 0

Answered
what does the red dot on the line number in matlab mean?
That is a <https://www.mathworks.com/help/matlab/matlab_prog/set-breakpoints.html breakpoint>. One of the main uses for breakpoi...

8 years ago | 1

| accepted

Answered
Reshape a Matrix in a specific order
Do you need the result to be a matrix of all the coordinates of the vertices of the triangles, or would you be able to work with...

8 years ago | 0

Answered
Matlab home - Financial Toolbox and Financial Instrument Toolbox
*Pricing*: click on the How to Buy link in the upper-right corner of this page. On the Store page that opens up, press the Buy N...

8 years ago | 0

Answered
Undefined function 'plotconfusion' for input arguments of type 'categorical'. ? WHHAATT ????
The online documentation is for the most recent release, which currently is release R2018a. The ability to plot confusion lab...

8 years ago | 0

Answered
findobj give me back an empty value in 2018 vertion.
Prior to release R2014b, the |contour| function returned a |contourgroup| object that was of Type 'hggroup'. With the major u...

8 years ago | 0

| accepted

Answered
Use the treeplot function
Number your nodes 1 through 11. Create a vector with 11 elements. Each element in the vector should contain the number of the no...

8 years ago | 0

Answered
Matlab has encountered an internal problem and needs to close
The last part of that log file should have asked you to send the crash log file to Technical Support for investigation. Please s...

8 years ago | 0

Answered
Matlab respond nothing when using the sym command even thought that i have a symbolic Math Toolbox installed. What is happening?
Are you using Windows 10 Spring Creator Update 2018? If so see <https://www.mathworks.com/support/bugreports/1755918?s_tid=answe...

8 years ago | 2

| accepted

Answered
Find out the mean of each year and month from temperature data of 1890-2018
If you have your data stored in a <https://www.mathworks.com/help/matlab/timetables.html |timetable|>, use the <https://www.math...

8 years ago | 0

| accepted

Load more