Answered
Niftiwrite throws error even when just saving the image
Hi Emilla, It sounds like you're encountering an issue with the "niftiwrite" function due to a mismatch between the volume si...

1 year ago | 0

Answered
gather() in tall array inverse is incorrect
Hi Chen, please modify this line and see whether the issue persists or not! gather(AA_t)\gather(bb_t);

1 year ago | 0

Answered
how retrive last data not nan from Thingspeak channel in matlab
Hi Ahmed, Thank you for reaching out. To retrieve data from a ThingSpeak channel, you can refer to the example "Retrieve Recen...

1 year ago | 0

Answered
How can we get the geodtic hight of the pixels of a georeferenced image(dem) in MATLAB and put them in separate matrices
Hi Hamed, please refer to this solution: How can we get the latitude and longitude of the pixels of a georeferenced image in MA...

1 year ago | 0

| accepted

Answered
opts = detectImportOptions Pass method when there is no variable Naming when reading more than 100 files
Hi 성 황, To handle the issue of missing variables (e.g., VariableName2) when reading multiple files with 'detectImportOptions', ...

1 year ago | 0

Answered
code imported from app designer in .m reimported in .mlapp
Hi Jorge, Please refer to this post: https://in.mathworks.com/matlabcentral/answers/2128456-can-we-convert-an-m-file-to-an-mlap...

1 year ago | 0

Answered
Slow array of structure updating in saving variables in app designer
Hi Sarah, Here are some suggestions that you can try to improve the performance: 1) Preallocate the Structure Array: Prealloca...

1 year ago | 0

Answered
How to make a ResNet network with more than 3 channels?
To transition from using 'resnetLayers' and 'trainNetwork' to 'resnetNetwork' and 'trainnet', you need to ensure that your data ...

1 year ago | 0

Answered
No classification layer in MATLAB Deep network designer
In R2024a, Deep Network Designer updated to use "dlnetwork" objects by default. This version of Deep Network Designer does not ...

1 year ago | 0

Answered
How to use matlab to extract abaqus units should strive to average
Hi 琰晟, From your query, I understand that you want to extract data from Abaqus and use it in MATLAB to calculate averages. You ...

1 year ago | 0

Answered
What Does Access Expire means in Matlab Fundamental
Hi Sumit, Regarding your query about the access expiration in 2026, this typically refers to the period until which you'll hav...

1 year ago | 1

| accepted

Answered
Callback on a Grid of Buttons Only Works on Last Button Created
Hi Philip, The issue arises because the callback is being set outside of the loop that creates the buttons, and it's only appli...

1 year ago | 0

| accepted

Answered
How to generate c code for simulink example model, but just for a certain block.
Hi Andrew, One way to achieve this is through atomic subsystems. Here are the steps: Wrap the block in a subsystem if it is no...

1 year ago | 0

Answered
xline issue with adding a number to the line through the labels option
Hi Jason, In MATLAB, the xline function is designed to add vertical lines to a plot and allows for customization through variou...

1 year ago | 0

| accepted

Answered
Help in Sloving S-Matrix
Hi CHARUMATHI P R, I understand that you need to calculate the ABCD parameters for different values of N (10, 20, 30) and the...

1 year ago | 0

| accepted

Answered
Constant Block doesn't produce constant value
Hi BASEL, The issue you're encountering with the "Constant" block in Simulink not producing the expected constant values and ...

1 year ago | 1

Answered
intergration of function failed to calculate
Hi Inzamam, I understand that you are getting the error "Operator '.^' is not supported for operands of type 'function_handle...

1 year ago | 0

Answered
Rewrite the code be using vectorization instead of for loops and if statements.
Hi Bob, I understand that you want to vectorize the code that processes 'TLE' (Two-Line Element) data for satellites to enhan...

1 year ago | 0

Answered
Retrieve information from a .h5 file
Hi Tala, I understand that you're facing issues retrieving meaningful data from an unexpected '.h5 file' instead of the usual...

1 year ago | 0

Answered
如何解释r1与c1的数值的意思
Hi 雪明 邓, I understand that you're looking for an explanation of the numerical values in the variables “r1” and “c1” produced...

1 year ago | 0

Answered
Problem understanding vector gradient component output
Hi s3bbo, I understand that you're looking for a clear explanation as to why the output from MATLAB's gradient function may ...

1 year ago | 0

Answered
Axis equal for geoaxes
Hi Mia, I understand you're looking for a way to achieve an aspect ratio equivalent to “axis equal” for your geographic plots...

1 year ago | 0

Answered
Storing and comparing data after performing parfor with basic class function
Hi Chad, I understand that you are looking to store the results from each “spectrum” after processing them in a “parfor loop...

1 year ago | 0

Answered
Modify the attached code to implement vector projection.
Hi jaeuk, I understand that you are looking to implement vector projection in MATLAB. The key is to use the dot product to p...

1 year ago | 0

Answered
Pass multi dimensional byte array from C# to Matlab library using MWArray.
Hi Hans, I understand that you have a 3D byte array in C# that you need to pass to a MATLAB function, which expects a 3D byt...

1 year ago | 0

Answered
Call a VBA object in Matlab with Activex server.
Hi Ajpaezm, I understand that you are looking to execute a VBA function that is embedded within an Excel sheet object, rathe...

2 years ago | 0

Answered
Posterior probability for cross-validated fitcecoc model
Hi Noam, When you have a cross-validated error-correcting output codes (ECOC) model created with “fitcecoc” and the 'CrossV...

2 years ago | 0

| accepted

Answered
Using Daugmans Rubber Sheet model, I am not able to get the correct normalized image of iris. Please help me out.
Hi Ridhima, If you're looking to normalize an iris region using Daugman's Rubber Sheet Model, you can refer to the following...

2 years ago | 0

| accepted

Answered
Macro in excel is getting removed while running MATLAB
Hi Mohammad, I understand that you're facing issues with a VBA macro being deleted or not executing correctly when using MAT...

2 years ago | 0

Answered
How do I compute and visualize complex gradients? (ReLU example)
Hi Julian, I understand that you're looking to calculate the gradient of a complex function. This process is quite different...

2 years ago | 0

Load more