Answered
Fuzzy logic rule for out of range
Hi, Yes, you can define a default output value for out-of-range inputs in your fuzzy logic system. One way to do this is by add...

1 year ago | 2

| accepted

Answered
Why varistor block behaves linearly?(like a resistance)
Hi, It's possible that there may be an issue with the way you're modeling the varistor in Simulink. Varistors exhibit non-linea...

1 year ago | 0

Answered
Deleting erroneous data from a table
Hi, The error message you are receiving suggests that 'counts' and 'dailyInput_t' are not both tables or timetables, as require...

1 year ago | 0

Answered
Numerical Technique to approach Global Minimum of a Function
Hi, It sounds like you're dealing with a highly nonlinear optimization problem with many variables, which can be challenging to...

1 year ago | 0

Answered
Using fsolve with gpuArray
Hi, It seems that the error message you are getting is related to the fact that anonymous functions are not supported in GPU ar...

1 year ago | 0

Answered
deep learning layer with different output dimension than the input
Hi, You can create a custom layer in MATLAB to achieve this. Here's an example implementation: classdef ReshapeLayer < nnet.la...

1 year ago | 0

Answered
Left click works, why doesn't right click?
Hi, The issue with the right-click event can be due to the fact that in the while loop condition, you are checking if 'button =...

1 year ago | 0

Answered
What is my problem with integration of velocity - I can't get displacement (s) correct?
Hi, Based on your MATLAB code, it seems like you are trying to simulate the dynamics of a braking system and compute the accele...

1 year ago | 1

Answered
Need different constants for ranges in matrix
Hi, You can set a temporary variable 'temp_speed' to hold the value of 'm(r,n)' for the current iteration of the 'for' loop and...

1 year ago | 0

Answered
How do I 'ignore' SSL certificate issues from a trusted site and download a .tsv file?
Hi, The error message indicates that the SSL certificate of the website you are trying to download from has expired. You can tr...

1 year ago | 2

Answered
Derivative of an image with respect to an other image
Hi, To take the derivative of an image y with respect to another image x, you can use the MATLAB function 'gradient' which calc...

1 year ago | 0

Answered
How do I plot image noise (snr) to compare the noise of two images?
Hi, To plot the signal-to-noise ratio (SNR) of two images in MATLAB, you can use the 'imagesc' function to display a matrix as ...

1 year ago | 0

Answered
is it possible to plot three different dataset on a skyplot ? if yes, please how do i do this ? Because i am only able to plot elevation and azimuth on a skyplot
Hi, Yes, it is possible to plot three different datasets on a skyplot in MATLAB. One way to do this is by using the scatter3 fu...

1 year ago | 0

Answered
zoom on the mouse pointer
Hi, To recalibrate the 'xValue' after setting the aspect ratio of the axes to 'equal', you need to modify the 'xCalibrate' vari...

1 year ago | 0

Answered
Does generatemesh refine or remesh?
Hi, The 'generatemesh' function can be used to increase the mesh density near specified vertices or edges. The function uses an...

1 year ago | 0

Answered
how to calculate kernel covariance function in Gaussian Process Regression?
Hi, The size of the kernel matrix you obtained is indeed 24445 x 24445, which is the correct size for a kernel matrix computed ...

2 years ago | 0

Answered
Tab Key Not Working
Hi, It sounds like your issue might be related to the settings in your MATLAB Editor Preferences. Here are some things you can ...

2 years ago | 0

Answered
How to plot nodal displacement using mesh.m
Hi, Assuming that you have a vector of nodal displacements U that corresponds to the nodes in your mesh, you can use the mesh f...

2 years ago | 0

Answered
how to calculate specificity and sensitivity in 3dUnet
Hi, To calculate the specificity and sensitivity of a 3D U-Net segmentation model in MATLAB, we can use the confusion matrix ...

2 years ago | 0

Answered
Whether the entropy and energy for glcm and histogram features of an image are different?? if so, how to calculate it???
Hi, Yes, it is possible to calculate the energy and entropy of an image using its histogram. However, it is important to note t...

2 years ago | 0

| accepted

Answered
How to transfer weights from a pre-trained CNN regressive neurale network to a new one (Transfer learning)
Hi, Transfer learning works in the similar manner in both regression and classification. The process is similar to transfer le...

2 years ago | 0

| accepted

Answered
How one can use Tiremsetup?
Hi, To access and use TIREM software from within MATLAB, you can refer to the following MathWorks documentation links: https:/...

2 years ago | 0

Answered
How can I get the values along a line plotted over a quiver plot?
Hi Jasper, To get the velocity values at a line intersecting with a quiver plot, you can use the interp2 function to interpolat...

2 years ago | 0

Answered
How can I plot the graph with one boundary condition?
Hi Akshay, To plot a graph between kq and b while also ensuring the condition Y1 < Y is satisfied, you can use a loop to evalua...

2 years ago | 0

Answered
Is it possible to use 'trust-region' algorithm for the fsolve function inside a Simulink model?
Hi Marco, As of R2022b, Simulink supports only 'levenberg-marquardt' algorithm for “fsolve”. It is possible using coder.extri...

2 years ago | 0

Answered
Matlab function (fsparse) from github produces an error- why?
Hi Rachel, From the error message, it seems like the MEX files have not been created yet on your current path. You can try the ...

2 years ago | 0

Answered
How do I visualize fitrnet derived neural network?
Hello, For visualizing and analysing the designed Neural Network, the following methods can be used: analyzeNetwork: Analyze ...

2 years ago | 0