Answered
What are the possible reasons for data jumps in the plot?
Q = @(v) sym(v); Pi = Q(pi); A0 = Q(15207)/Q(10)^4; A1 = Q(0853721)/Q(10)^6-Q(1816893)/Q(10)^6*1i; A2 = Q(1); th = ...

2 years ago | 0

| accepted

Answered
Why License Manager Error -9,57 if the username MatLicence/Window is the same?
You have to use the Windows internal username, not the Windows Live email address. https://www.mathworks.com/matlabcentral/answ...

2 years ago | 0

Answered
calculate the area of the black colored objectes in a image
stats = regionprops(YOUR_BW_IMAGE, 'Area'); areas = [stats.area]; total_area = sum(areas);

2 years ago | 0

Answered
Matlab ODE Solvers - Paramater Question
To pass an additional parameter, use http://www.mathworks.com/help/matlab/math/parameterizing-functions.html However... for the...

2 years ago | 0

Answered
Can't read external drives
System Preferences --> Privacy & Security --> Full Disk Access Click on the "+" at the bottom middle . Authenticate. Select /Ap...

2 years ago | 0

| accepted

Answered
Getting arrow key presses in code without any figures
You can potentially use one of the routines from PsychToolbox; https://www.mathworks.com/matlabcentral/answers/143088-real-time-...

2 years ago | 0

Answered
"Empty sym" when solving a system of linear equations with different conditions
Sol = solve([eqn1 eqn2 eqn3 eqn4 ... cond1 cond2 cond3 cond4 ... cond_gear5_1 cond_gear5_2 ratio], i) That is a reque...

2 years ago | 1

Answered
Can I update my Matlab behavior
In the MATLAB editor, if you start with examplepath = 'this\is\a\path\' and position your cursor at the path part and press re...

2 years ago | 1

Answered
Replace certain columns in a structure array
[Data(30:60).Temperature] = deal(20); [Data(61:80).Temperature] = deal(24);

2 years ago | 0

| accepted

Answered
License Error while running Yolov4 object detector
It sounds as if you are configured for multiple license servers, and the license server you normally use does not have a license...

2 years ago | 0

Answered
I need a link and password to the MATLAB software accompanying the text Business Finance and Economics with MATLAB
The link to the software is https://www.andersoneconomicgroup.com/Portals/0/Zipped%20Toolbox.zip I do not know what the passw...

2 years ago | 0

Answered
Is there a way to use fill with animatedline?
No, animated lines cannot handle fill. Consider instead creating a hgtransform for each tile. To move the individual tiles, set...

2 years ago | 0

| accepted

Answered
How to do I get the standard deviation from an eeg input signal in SImulink?
The instantaneous standard deviation of a signal is 0. Standard deviation normally depends on a complete population -- a comple...

2 years ago | 0

Answered
How do I add a column to table?
You can add a new table variable by using either dot notation or the "addvars" function. Dot notation adds new variables to the ...

2 years ago | 2

| accepted

Answered
Can't use conv() after using coeffs()? It works when manually inputting the coefficients but doesn't when it is taken using coeffs
syms s eq1 = 2*s^2 + 3*s - 1; N = coeffs(eq1, 'All'); eq2 = s^3 +6*s^2 + 1; D = coeffs(eq2, 'All'); T = conv( double(N)...

2 years ago | 0

| accepted

Answered
How do I implement a one-second buffer for incoming UDP data?
For real-time operations, you cannot (should not) use dynamic memory allocation. Dynamic memory allocation runs the risk of run...

2 years ago | 0

Answered
retrieve mat-file version for v7.0
The difference between -v5 and -v7 has to do with the variety of objects that are stored. If a particular .mat file does not hap...

2 years ago | 1

| accepted

Answered
How to Increase plotting speed
tic L=0.1; a=L/2; v=3e8; f1=1.2e9; f2=4.8e9; f3=10e9; w1=(2*pi*f1); w2=(2*pi*f2); w3=(2*pi*f3); Z01=50; Z02=50; a0...

2 years ago | 0

| accepted

Answered
How to bring in a single channel EEG signal from MATLAB workspace into Simulink?
t = (0:length(YOUR_EEG_SIGNAL)-1) / fs .'; SIGNAL = [t, YOUR_EEG_SIGNAL(:)]; assignin('base', 'SIGNAL', SIGNAL); Now From Wor...

2 years ago | 0

Answered
liscence manager error 8
You will not be able to fix the error instantly. https://www.mathworks.com/matlabcentral/answers/100496-why-do-i-receive-licens...

2 years ago | 0

Answered
Cross-section (Need help to correct the code or modify it )
atand() with one parameter returns values in the range -90 to +90, not in the range 0 to 90 to 180. No single-parameter atand() ...

2 years ago | 0

| accepted

Answered
Issues with script writing mixed text/numeric data to file as a table
fprintf(fid, '%5.1f %4.1f %4.1f', [CENTIMETERS, KILOGRAMS, BMI] .') fprintf() works by first using up all of th...

2 years ago | 0

| accepted

Answered
User-defined monthly loan payment function issues
M=P*((r/1200)/(1-(1+(r/1200)))^((-12)*N)) 12 1 2 3 4 321 23 2 10 That has a sub-expression (1-(1+(r/1200)))...

2 years ago | 0

| accepted

Answered
Parallel computing on cell array.
Use a cell array. Inside the parfor: p1 = pArray{i}; x = p1.positionx; y = p1.positiony; and so on

2 years ago | 0

Answered
Why is my code seemingly ignoring some of the for loop commands?
function b=mybin2dec(x) You do not assign anything to b . Your code will error unless you do not assign the result of mybin2dec...

2 years ago | 1

| accepted

Answered
How do I plot a quiver plot without the tail?
quiver(___,LineSpec) sets the line style, marker, and color. Markers appear at the points specified by X and Y. If you specify a...

2 years ago | 0

Answered
Splitting columns of a table
files = dir('mvn_lpw_l2_lpnt_20150301_v03_r02.csv'); tab = readtable(files.name, 'Delimiter', ',', 'VariableNamingRule', 'pres...

2 years ago | 0

| accepted

Answered
how to crop image automatically to 512x512px?
RegionSize = 512; I=imread('1_245.jpg'); figure, imshow(I); I=rgb2gray(I); BW=I>100; figure,imshow(BW); labeledImage = b...

2 years ago | 0

| accepted

Answered
Use Retime of a timetable to interpolate to timestamps of another timetable, without interpolating across NaNs
Specify a function handle for the retime aggregation method. "All the listed methods omit NaNs, NaTs, and other missing data i...

2 years ago | 0

Answered
error using saveas in fig format
Notice the error is shown as being on line 14 of savefig Line 14 of the Mathworks supplied savefig gor R2022b is % savefig(H,...

2 years ago | 0

| accepted

Load more