Answered
How to solve this error ?
Those are warnings, not errors. You remove the warnings by aligning the end statements with the start of their corresponding co...

1 year ago | 0

Answered
Why does .mat file previewer take so long?
The first level elements store first a data type field and then the number of bytes in the rest of the element (excluding the 8 ...

1 year ago | 1

| accepted

Answered
Sum two different coverage models
You could probably extract the lat and long vectors from tx_array1 and tx_array2 and do scatteredInterpolant() to construct inte...

1 year ago | 0

| accepted

Answered
Does MATLAB's Instrument Control Toolbox offer support package drivers for SIGLENT oscilloscopes to read waveform data? I am using the SIGLENT SDS1000X-E Series model
Mathworks does not offer any support packages for SIGLENT You can try myScope = oscilloscope('USB0::0xF4EC::0xEE38::SDSMMGKC7...

1 year ago | 0

Answered
How can I programmatically set uigetfiles() display mode and file sort order?
uigetfiles() invokes system-specific behaviour that there no interface for. For example on Mac it invokes the MacOS file browser...

1 year ago | 1

| accepted

Answered
Integral command doesn't work inside the for loop
a = 0; b = 2; h1 = b - a; h2 = (b - a)/2; n = 1:5; fprintf('\tAnalytical\tTrapezoid\tSimpson\n\n') for i = 1:length(n)...

1 year ago | 0

| accepted

Answered
how to plot different range of files on one graph using hold on
startIndex = 1; endIndex = 3; startIndex1 = 4; endIndex1 = 6; count1 = 0; filelist = dir('C:\Users\shedr\Downloads\tec data...

1 year ago | 0

| accepted

Answered
refer to variable within matrix calculation
constantError(:,5) = mean( output( constantError(:,1)*16-15: constantError(:,1)*16,9 ) ) First the vector result constantError(...

1 year ago | 0

Answered
no data in the data browser when i use model linearizer in simulink
You do not have any signals that have the annotation indicating that the signal is being logged. You do not have any To Works...

1 year ago | 0

Answered
How to write to screen a set of variables with mixed types?
a='d=0.7874 mm , epsr=2.1'; m=3; u=7.853535; temp = [a m u] length(a) length(temp) temp(end-1:end), temp(end-1:end)+0 You...

1 year ago | 0

Answered
How to solve the following four integration in MATLAB
integral expects a function handle to a function that accepts a single input parameter. It normally passes a vector of values to...

1 year ago | 0

Answered
how to cleanly ensure column type in table is numerical
In R2018b, it is enough to do something like filename = 'file_1.csv'; opt = detectImportOptions(filename); T = readtable(file...

1 year ago | 0

Answered
How come fsolve is exceeding evaluation limit?
% Initial guess for the solution x0 = [sym(8487)/sym(10)^3, sym(6330)/sym(10)^12, sym(1149)/sym(10)^3, sym(5837)/sym(10)^3, sym...

1 year ago | 2

Answered
serialport - how to reopen port after handle was lost
These days there is serialportfind

1 year ago | 1

Answered
Why doesn't the subtract function work with 3D DiscreteGeometry in R2024b?
In R2023a, the methods available for DiscreteGeometry are addCell addVertex cellEdges ext...

1 year ago | 0

Answered
How to load TreeBagger created and saved in an older version of MATLAB into a newer version?
Warning: Variable 'explainer' originally saved as a shapley cannot be instantiated as an object and will be read in as a uint32....

1 year ago | 2

| accepted

Answered
MI in spin orbit bose bose mixtures
I was able to fix some of the problems, but Omega_plus and Omega_minus just are not defined. L=20; dk=0.1; k=-L/2:dk:L/2-dk; ...

1 year ago | 0

Answered
how to get all text written in the command window to show up in a text box in uifigure?
If you can wait until after all of the text has been produced, then use evalc around the computation whose text is to be recorde...

1 year ago | 0

Answered
how to change axis font color?
To change the font color while leaving alone the grid lines, see these examples xtickformat('\color{red}%g') %re...

1 year ago | 0

Answered
How does MATLAB app designer call external. m functions after packaging into exe?
When you package into exe then external .m that are not packaged as part of the exe, cause an error when they are called. Onl...

1 year ago | 0

Answered
extract max and min frequency of a spectrum
You could fft(), and take the first half of the results, and find the last bin such that abs(BIN)>0 . That last bin will corresp...

1 year ago | 0

Answered
Passing output from afterEach to variable
This method is fairly clumsy, but in theory it would work. Use a parpool size of 1. Use parfeval() to create a parallel.pool.P...

1 year ago | 1

| accepted

Answered
how to find the function "helper plot fluctuation loss" to plot this image in matlab help?
When you openExample('radar/IntegrationAndFluctuationLossesExample') it will set up a directory for you and cd to that direct...

1 year ago | 0

| accepted

Answered
Taylor's theorem, find approximation for e^-x for x =1 with accuracy of 5 decimals.
Taylor's series involves accumulating the sum of terms. The sum of the n'th derivative of the function divided by n factorial ti...

1 year ago | 0

Answered
i want to plot fragility curve stress vrs probability of failure and mean speed vrs probability of failure no of data is 48500
Your failure probability is a scalar. mean speed could be calculated as mean(data.Speed_km_h) but that would be a scalar. Plotti...

1 year ago | 0

Answered
Same script in a path folder and the current folder. Which takes priority? (2024a, Ubuntu)
According to https://www.mathworks.com/help/matlab/matlab_prog/function-precedence-order.html 3. Nested functions within the c...

1 year ago | 0

| accepted

Answered
Simplifying symbolic expression to get real of real function in it.
syms x (x^3 + x)/x^2 + 5 real(ans) You can see that if you have a real() call then the Symbolic Toolbox already automatically...

1 year ago | 0

Answered
Data not being written in file
Did you remember to fclose() the file?

1 year ago | 0

| accepted

Answered
How to access the certain data Simulink model ?
You can use a Selector block to extract particular columns from simulink signals. https://www.mathworks.com/help/simulink/slref/...

1 year ago | 0

Answered
How to Solve a System of Equations for symfun Objects?
Is there a way to define all of the R(s),E(s),G(s),Y(s) as symfun from the start and simultaneously solve eq1 and eq2 directly f...

1 year ago | 0

| accepted

Load more