Respondida
draw more date in the axis
Use xticks If you must report every week, then you will probably want to use xtickangle

más de 1 año hace | 0

Respondida
I am using roots command for a complicated equation to find out the roots but in return it is giving me roots command in it . How can I solve this?
Dr = solve(Dc, Rh, 'maxdegree', 3); The output is likely to be somewhat long.

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 1

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 1

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 1

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 1

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 1

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 2

| aceptada

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 2

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

más de 1 año hace | 0

Respondida
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)); ...

más de 1 año hace | 0

| aceptada

Respondida
*.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 ...

más de 1 año hace | 0

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

más de 1 año hace | 0

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

más de 1 año hace | 0

Cargar más