Answered
Create a function to calculate error, approximation, exact, etc.
Hi, You can refer to the "taylor" function in Symbolic Math Toolbox. <https://www.mathworks.com/help/symbolic/taylor.html>...

4 years ago | 0

Answered
Data Acquisition board supported by simulink real time desktop?
Hi Sid, The documentation links you referred belong to two different products i.e. Simulink Desktop Real Time and Simulink Re...

4 years ago | 1

Answered
Does it exist function for a Simulink model related to time (more or less like 'now') ?
Hi Damiano, If you would like to use the "now" functionality in Simulink for simulation purposes, please refer to the followi...

4 years ago | 0

Answered
Generating code in the signal analyzer
Hi Barry, The ability to generate MATLAB scripts from Signal Analyzer app is added in R2017b (See the release notes link belo...

4 years ago | 1

| accepted

Answered
Retrieve Elevation Data from Web Map Server is not working
Hi Olga, I believe the NASA server has changed recently which is causing this issue. To workaround this, you can try and use ...

4 years ago | 0

| accepted

Answered
How can I find a good initial guess for Levenberg-Marquardt algorithm?
Hi Ale, I don't believe there is a "correct" answer for finding the initial guess for an optimization problem. It depends on ...

4 years ago | 0

| accepted

Answered
Use of hgtransform with axesm / mapping toolbox
Hi Chris, That lat and lon variables in your code span from [0 30] and [0 20] respectively, as opposed to the actual limits s...

4 years ago | 0

Answered
How to create a multivariate gaussian mixture model??
Hi Akshara, The <https://www.mathworks.com/help/stats/gmdistribution.html#examples gmdistribution> function supports multivar...

4 years ago | 0

Answered
How to arrange data for time series classification learning
Hi Malte, I believe you will need to pre-process the time series data to extract features for the classification learner. Som...

4 years ago | 0

Answered
Invalid MEX-file error, undefined symbol...
Hi Corey, You should check with the author regarding compatibility with Ubuntu 16.04 and MATLAB R2014a. Mex files are not sup...

4 years ago | 0

| accepted

Answered
Bio-Formats importer and fluorescent video
Hi Douglas, Have you tried using one of the following? <https://www.mathworks.com/help/images/ref/implay.html> <https:/...

4 years ago | 0

Answered
I'm looking for some help in reading a TCX file so that I can null increasing elevation data.
Hi Robin, You can try and use the MATLAB import tool using the "Import Data" button in the Home tab. You can customize the im...

4 years ago | 0

Answered
fzero system of non linear equations
Hi Bastian, Which part of the for loop is more expensive? Have you tried profiling the yfun function? I believe it takes a st...

4 years ago | 0

Answered
How to connect 2 different air stream in simscape pneumatic
Hi Xavier, I don't believe there's a capability to mix two gases. You can calculate the approximate properties manually and ...

4 years ago | 0

Answered
I am trying to use the spectrum analyzer in Simulink to study a distorted signal. However, every time i change the discretization time of the powergui block, it gives me different (a huge difference) results. So how do I choose the sampling time?
Hi Danny, The sampling time for spectrum analysis should ideally be same as the sampling time of the actual signal to be anal...

4 years ago | 0

| accepted

Answered
Greybox nonlniear estimation model
Hi Imisi, If you already know the dependence of OCV on time, you can definitely pass it as a parameter. However, as time is a...

4 years ago | 1

| accepted

Answered
greybox linear model error
Hi Imisi, In your code below function [A,B,C,D] = batteryeq_lin(T1,T2,C1,C2,Cnom,R0,Ts) A=[-1/T1 0 0;0 -1/T2 0;0 0 0]; %...

4 years ago | 1

| accepted

Answered
In ssm (state space model), how can we indicate the same unknown parameters in coefficients matrix?
Hi Jialin, I understand that you would like to impose constraints on unknown parameters in ssm. You can use the "ParamMap" me...

4 years ago | 1

Answered
How can i plot the intensity of each row in an image?
Hi Amelia, I am assuming you have a 2-dimensional Image I. You can directly use the value in the image matrix to plot the int...

4 years ago | 0

Answered
XML-Import and then finding an attribute and saving it in a matrix
Hi Mueller, I understand that you would like to obtain numbers from a cell string after finding certain pattern in string. Yo...

4 years ago | 0

Answered
Coloring the largest component with different color than others
Hi Sultan, You can use the method below to achieve your use-case. image = zeros(size(biggest,1),size(biggest,2),3); N...

4 years ago | 1

Answered
How can I draw a circle with centre lines and then rotate it?
You can use the following method to draw lines inside a circle and rotate/translate them. radius = 5; center = [10 15...

4 years ago | 1

| accepted

Answered
How to redefine waypoints for the desired path for the robot?
Hi Arun, I understand that you would like to update the waypoints of the controller during simulation. You can achieve this b...

4 years ago | 0

| accepted

Answered
National Instruments USB 6210 does't work in Simulink, Analog Input Block
Hi Uriel, In R2015b, Data Acquisition Toolbox Simulink Blocks support only Legacy Interface, that too on 32-bit MATLAB. You c...

4 years ago | 1

| accepted

Answered
In the antenna tool box, how does the EHfields function calculate the fields?
Hi John, Calculation of E and H fields of an antenna depends on it's properties like geometrical shape, orientation etc. You ...

4 years ago | 0

Answered
Object correct labeling when it is within another object
You can use the function "inpolygon" to check if one polygon lies inside the other. <http://www.mathworks.com/help/matlab/re...

4 years ago | 0

Answered
ncdisp displays the netcdf file but cannot open with netcdf.open
Hi MelMo, It looks like the error is generated by the command "netcdf.getVar" function at line 9 of "tryingnetcdffiles" scrip...

4 years ago | 1

Answered
Read rotary encoder data from Arduino
You can use the functions like <https://www.mathworks.com/help/supportpkg/arduinoio/ref/readdigitalpin.html readDigitalPin> to ...

4 years ago | 0

Answered
Import Avi Files into Matlab on Mac
I think MATLAB relies on Platform APIs to read a file using VideoFileReader. If Quick Time can't open the file on your macOS, yo...

4 years ago | 0

| accepted

Answered
Fitting a Step/Stair Function to data...
Hi Kylie, You can follow the approach presented in this File-exchange submission to fit curves to data with a sudden discont...

4 years ago | 0

Load more