Answered
Can the number of points in current function in Matlab Antenna Toolbox be manually assigned?
The mesh() operation creates a mixed triangular and tetrahedral mesh dividing up the 3D space. Techniques similar to delaunay tr...

1 year ago | 0

Answered
Complex multiplication giving incorrect result
For the given A, the prod() is completely real. A = 1.0e+08 *[-1.1051 + 0.0000i, -0.4594 + 1.8182i, -0.4594 - 1.8182i, -0.2...

1 year ago | 0

| accepted

Answered
Finding a circle in a 2D array
There are no functions to find circles in "images" : there are only functions to find circles in arrays. When it is necessary to...

1 year ago | 1

Answered
Capturing Lossless Images with Image Acquisition Toolbox (getsnasphot)
YUY2_3840x2160 is already compressed with a lossy compression compared to rgb. Each 1x2 rgb block is represented by 8 bits of gr...

1 year ago | 0

| accepted

Answered
Parallel pool never releases used memory leading to instability
txPositions = [linspace(38.9857294, 38.9857294, 10000).', linspace(-76.9442905, -76.9407240, 10000).']; That is 100...

1 year ago | 0

Answered
What is the best kind of MATLAB function to teach beginners?
Anonymous functions have been supported since R12.1 if I recall correctly. Nested functions have been supported since R14. loc...

1 year ago | 1

Answered
Code won't run on Mac due to backslashes
thing = 'filename\tthis\that'; fprintf(thing) Suppose there was code that automatically detected filenames and converted them....

1 year ago | 0

Answered
mono- objective optimization and multiopjective optimisation, I would like to use GA with option but there is a fault that I can't to resolve
You do not have the Optimization Toolbox installed, and you do not have the Global Optimization Toolbox installed. You probab...

1 year ago | 0

Answered
how to show images at a point in a plot?
F2 = fullfile(S1(i).folder, S1(i).name); I{i} = imread(F2); Also you will probably want a pause() in the display loop. Graphic...

1 year ago | 1

Answered
MPU6050 display raw data and fft from the reading get
[accelReadings,timestamp] = readAcceleration(sensor) returns one sample of the acceleration data from the MPU-6050 IMU se...

1 year ago | 0

Answered
writetable/readtable with multi-line headers
writetable() first just the header lines. Then writetable() the data with WriteMode='append' When you readtable() you can speci...

1 year ago | 0

Answered
How to fill a large hole?
The provided JPEG image is RGB, not gray. The provided JPEG image has a white border around it. I = imread('https://www.mathwo...

1 year ago | 1

Answered
error using sin or math.sin
(8+6)*abs(4-15) + sin(log10(18))-(4+6) * tan(8/18+1) math.sin looks like syntax for Python.

1 year ago | 0

Answered
How to find the period between group of regularly spaced hot-spots?
Approximate_gap = mean(diff(find(abs(diff(YourSignal)) > TOLERANCE)));

1 year ago | 0

Answered
disable "Configure Arduino" Dialog in Standalone App
You could start by using ispref() to check whether you have already set a preference for the com port. If not, then app.config.C...

1 year ago | 0

Answered
Problem loading variables to Simulink
function y = tclabsim(t, x0, u, p) %... x0_T = x0; % Initial temperature The size of x0 is uncertain at this point. ...

1 year ago | 1

| accepted

Answered
MATLAB Plotting: xticks Error and Legend Repetition Issue?
It is not completely correct that the values passed to xticks() must be numeric. You can also pass duration values or datetime v...

1 year ago | 0

Answered
Passing a data file to a function in parfor or parfeval
You can use parallel.pool.Constant -- provided that the values are read-only on the workers.

1 year ago | 0

Answered
How to extract cell array of 2D matrices into a timeseries?
data = {rand(2,5); rand(2,5); rand(2,5)}; ts = timeseries(cat(3,data{:})) getsamples(ts,1) So in general you ts = timeseries...

1 year ago | 2

| accepted

Answered
Formatting Numbers in App Designer's UITable
You have two possibilities here: format as strings independently round() each column to the appropriate number of digits The ...

1 year ago | 0

| accepted

Answered
2D matrix resize or interpolation
If I would like to have a finer sampling of the data by doubling the samples (eg Inew = [768, 1024], which function would you su...

1 year ago | 0

Answered
Hello, can MATLAB solve equations like the one below? I mean, can MATLAB find the conditions for z that satisfy this relationship, instead of just numerical solutions?
If the * stands for conjugation, then it seems to be universally true for finite values syms z eqn = sqrt(conj(z)) - conj(sqrt...

1 year ago | 0

Answered
taking difference of 2 surf figures of different sizes
N = 100; G1 = griddedInterpolant(x1, y1, z1, 'linear', 'none'); G2 = griddedInterpolant(x2, y2, z2, 'linear', 'none'); [min...

1 year ago | 2

Answered
How can I filter a FFt signal to only show the main frequency?
[~, maxidx] = max(abs(amplitude)); main_signal = zeros(size(amplitude)); main_signal(maxidx) = amplitude(maxidx); Do not be s...

1 year ago | 0

Answered
parallel computing apply to my problem
Change a(i+1)=diff(v1,t); b(i+1)=diff(v2,t); to a(i+1) = expand(diff(v1,t)); b(i+1) = expand(diff(v2,t)); ...

1 year ago | 0

| accepted

Answered
*.mdl extension in library file is giving error in 2024a version
EnableLBRepository is described https://www.mathworks.com/help/simulink/ug/adding-libraries-to-the-library-browser.html It is ...

1 year ago | 0

Answered
how to convert MRMR feature selection from matlab to C++?
The documentation for fscmrmr has no "extended features" section (in R2024b), which implies that MATLAB Coder is not supported f...

1 year ago | 0

Answered
query on deprecation of mdl in matlab
Mathworks has not announced the end support for MDL files, and it will not be the forthcoming R2025a. Mathworks increased the...

1 year ago | 0

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

Load more