Answered
How do I create multiple x,y scatters on one plain, and show the "trajectory" of each point?
Hello, You could try using the *animatedline* command <https://www.mathworks.com/help/matlab/ref/animatedline.html> Es...

7 years ago | 0

Answered
Gradient algorithm in FSOLVE
Hello, You have the right idea in my opinion. If you refer the documentation for *fsolve* <https://www.mathworks.com/help/...

7 years ago | 0

| accepted

Answered
MATLAB PDE TOOL for Newtonian Fluid
Hello, As far as I can see, your equation is a one dimensional description of Newtonian Fluid flow (unless the d stands for s...

7 years ago | 0

Answered
cftool is not loading in Matlab R2014b
Hello, Based on the error message, I believe this issue might stem from two reasons: * Your MATLAB Path is bad For some...

7 years ago | 0

Answered
6 eqn with 6 unknown Cannot find explicit solution
Hi, In some cases involving complex non-linear equations such as the one in this post, *solve* cannot find an explicit soluti...

7 years ago | 0

Answered
How to integrate customized kernel function into "regression learner" toolbox?
Hello, The "Regression Learner" app does not currently support specifying custom *Kernel* functions. However, if you are will...

7 years ago | 0

| accepted

Answered
cross validation error meaning?
Hello, To begin with I would recommend reading a little about what cross-validation stands for from here: <https://en.wiki...

7 years ago | 0

Answered
Find x from user-input probability
Hello, Since it is unclear what "x" stands for, I can only take a guess. Most likely what you want to do is given an input v...

7 years ago | 0

Answered
How do I create a complex geometry for heat transfer analysis?
Hi, Here is a code snippet that shows you how to plot the leaf, essentially you are also plotting the reflection of "n" along...

7 years ago | 0

Answered
Maximizing sharpe ratio of a portfolio with shorting allowed, where sum of absolute weights must be one.
Hello, Have you tried specifying bounds to be negative with "setBounds" <https://www.mathworks.com/help/finance/setbounds....

7 years ago | 0

Answered
how to do matrix interpolation faster
Hi, One thing I notice is that you are creating the *scatteredInterpolant* object in each iteration of the *for* loop. This w...

7 years ago | 1

Answered
Java issue with Matlab
Hi, yes the cause of this issue appears to be the use of an incorrect JRE . Here is my recommendation - when MATLAB is shipped, ...

9 years ago | 0

| accepted

Answered
How can I use timeseries objects with serial date numbers (datenum)?
From what I understand at the moment, this is possible provided a "StartDate" value is set and also if the available'Units' mean...

9 years ago | 0

Answered
How can I plot the percentage value in an histc plot?
Hi , I assume by "up to" you mean on top of the histogram. I recommend using text objects and adding them as shown in the code b...

9 years ago | 1

Answered
Convert year data to month (40 years = 480 months) in rows
Why not represent the results in a 40 by 12 matrix instead? Each row of the matrix would represent the consumption for the 12 mo...

9 years ago | 0

| accepted

Answered
Edge detection and cropping out region of higer intensity of Grayscale images
Hi , I am no expert in image processing but here is what I came up with after playing around with some of the tools, I hope this...

9 years ago | 0

| accepted

Answered
How to modify titles on plots generated by controlchart(y, 'chart', {'i','mr'})
Hi, based on your previous posts, I assume you are working with release R2015a. I would highly recommend spending some time to g...

9 years ago | 1

| accepted

Answered
Listen for a change in a subclass property
Hi , I am not sure I completely understand the context of the question but I was able to create an example that demonstrates how...

9 years ago | 1

Answered
Calculating the icdf of Gaussian function without using icdf function
Hi , as far as I understand the inverse of multivariate distributions are not uniquely defined. If you would like to determine t...

9 years ago | 0

| accepted

Answered
Help setting up an optimization problem
Assuming I have understood your questions, here is the framework I would suggest for the optimization process. I am assuming tha...

9 years ago | 0

Answered
Standard deviation for three dimensional matrix
I do not believe you need a loop for this. The 'std' function has the capability to account for direction as per the documentati...

9 years ago | 1

| accepted

Answered
I keep getting undefined function or method 'fn2fm' for input arguments of type 'struct'
There is a chance that your toolbox cache has become corrupted. You can set this right as follows: >> restoredefaultpath ...

9 years ago | 0

Answered
Adding a second x-axis to my graph, which i can scale myself
The link below gives an example and details to address your question.Essentially, you add a transparent axes and set the 'XAxisL...

9 years ago | 0

Answered
Plotting concentric circles on sphere
Hi, please execute the code below to generate the sphere with concentric circles. There are many ways to implement this , I have...

9 years ago | 1

| accepted

Answered
algebra in degree minutes seconds
You can make use of either the "arrayfun" or the "cellfun" to perform elementwise operations. Here are the links for these funct...

9 years ago | 0

| accepted

Answered
Finding Jordan Canonical Form (V and J) of a big square matrix
The Jordan function has an imposed size limit to help prevent exceedingly long calculations. In order to get around the error, e...

9 years ago | 0

Answered
Meshgrid stretching surface plot
I have three suggestions that might work for you: 1. Reconsider your stance on the issue at hand. Are you really sure that th...

9 years ago | 0

Answered
Script optimization: for loop, if statement, large dataset.
Hi Shayne, you seem to dynamically changing the size of the red, blue and green arrays in your loop which could cause errors due...

9 years ago | 0

Answered
How to extract rows based on column values in a matrix?
Here are links to a few concepts that would be useful for performing such operations: 1. Matrix Indexing : Using Logicals in ...

9 years ago | 13

| accepted

Answered
Adding subscripts to legends or axis in Mupad plots
In my opinion, this is not possible. The legend function expects arguments of type DOM_STRING. DOM_STRING does not appear to sup...

9 years ago | 0

| accepted

Load more