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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

| akzeptiert

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

| akzeptiert

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 0

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

fast 8 Jahre vor | 1

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 1

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 1

| akzeptiert

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

mehr als 9 Jahre vor | 1

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 1

| akzeptiert

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 1

| akzeptiert

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 13

| akzeptiert

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

mehr als 9 Jahre vor | 0

| akzeptiert

Mehr laden