Answered
Adding additional points to matrix image
Hi Thabo, From what I understand, the issue involves resizing or interpolating an image, and you are looking for a way to upsc...

10 months ago | 0

Answered
Square waves in spiral texture in Matlab (PTB)
Hi Marianne, To generate a spiral texture with square waves instead of sine waves in MATLAB using Psych toolbox, you can repla...

10 months ago | 0

Answered
Increase the plotting performance in datacursormode
Hi Kaivlya, It is my understanding that the performance issue occurs because the code creates a separate plot object for each ...

10 months ago | 0

Answered
having issues with display name value pairs of matlab issue
Hi Mohamed, It is my understanding that you want to print cell arrays of name-value pairs based on the variable argument input...

11 months ago | 0

Answered
Automatic Image Segmentation of three steel ropes using Image Processing Tools
Hi Darya, From my understanding, you are trying to segment an image containing three ropes and generate a binary mask like the...

11 months ago | 0

Answered
Predict using new external input for narx model
Hi Wissal, When predicting with a NARX network using new external inputs, it's important to prepare the input data so that the...

12 months ago | 0

Answered
Passing class method to fminunc
Hi Anton, To resolve the error, you need to update the function handle so that the method is bound to the object instance. Ins...

12 months ago | 0

Answered
Code generation error with Re-usable storage class
Hello Phani, The error you're encountering occurs because when function prototyping is enabled, MATLAB Coder expects complete ...

1 year ago | 0

Answered
Could someone help me with the errors I'm facing in this code ? The code is for Image Compression using Huffman Coding
Hi Vincent, The main issue is that Huffman encoding creates a variable-length bit stream, which cannott be directly converted ...

1 year ago | 0

Answered
Index Error in python with matlab code
Hi fritz, The issue stems from how MATLAB Compiler SDK handles neural network objects. When you compile your MATLAB code into ...

1 year ago | 0

Answered
How to solve betainc error in Polyfitn extension (by John D'Errico)?
Hi ZuzkaT, The error you are encountering occurs because the ‘polyfitn’ function attempts to calculate error estimates for y...

1 year ago | 0

Answered
Error between evenly spaced interpolation and Chebyshev interpolation.
Hi Zakaria, The error “Vectors must be the same length” means that when you call the MATLAB ‘plot’ function, some of the ar...

1 year ago | 0

Answered
ode45 Event function does not trigger correctly with nested function
Hi Hans, The behaviour you are experiencing with ‘ode45’ is due to the solver's method of bracketing zero-crossings, which can...

1 year ago | 0

Answered
Use Patch to use Z as color over depth
Hi bas, The challenge you're facing is common when dealing with large datasets, especially when visualizing data with varying ...

1 year ago | 0

Answered
How can I plot intensity as colour against a polar plot?
Hi Orla, As per my understanding the issue you are encountering with plotting intensity as colour on a polar plot can be effec...

1 year ago | 0

Answered
I need to replace TriREp with triangulation and get length of a 3D particle
Hi Priya, I am assuming your goal is to update your code by replacing the ‘TriRep’ with the ‘triangulation’ class and then comp...

1 year ago | 0

Answered
How to get the standard line equation from a position and angle
Hi Lama, To compute the standard line equation from a position and angle in a 2D mesh, we need to ensure the line stays within...

1 year ago | 0

Answered
2-D contour plot of a trajectory file obtained from lammps
Hi Dani, I am assuming that you are looking to visualize the density distribution of your simulation data using a 2-D contour ...

1 year ago | 0

Answered
Issue with Spectrometer Snapping and GUI updating
Hi Bera, Yes, using timers is a viable approach. At present, the while loop you previously implemented may run indefinitely be...

1 year ago | 0

Answered
Data structures and spmd
Hi D W, As per my understanding the issue you're facing stems from MATLAB's transparency rules within 'spmd', which prevents di...

1 year ago | 0

Answered
Regridding Latitude/Longitude File
Hi YOlivo, The issue in regridding your data from a 2km to 10km domain arises because a 10km grid cell corresponds to a 5x5 blo...

1 year ago | 0

Answered
Compressing pixelated image blocks into array
Hi Sushruta, I am assuming that you want to know the procedure to store the average values of each block from a pixelated imag...

1 year ago | 0

Answered
how to adjust the time axis in Simulink scope
Hi Lau Boon Chong, To modify the stop time of Simulink model, follow these steps: Open the Model: Start by opening the Simul...

1 year ago | 0

Answered
GUI derivative calculator, issues with coding portion
Hi William, The issue seems to be arising from using the ‘syms’ function within the callback. This function modifies the base ...

1 year ago | 0

Answered
distance between two geo points , I am trying to convert Rhumb lines distance calculation in matlab but it is not work properly
Hi Abdul, The issue in calculating the rhumb line distance between two geographical points, seems to arise from the way the di...

1 year ago | 0

Answered
Using AlphaDataMapping in 3D Scatter Plots
Hi Issac, To achieve the desired effect, we need to ensure that the 'AlphaData' property in the ‘scatter3’ function is set ...

1 year ago | 0