photo

Divyam


Last seen: 1 day ago Active since 2023

Followers: 0   Following: 0

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Use MATLAB to nd the roots of 13 x3  182x2  184x  2503  0.
Hi @Frederick Ampienyi, You can use the "roots" function to find the roots of a polynomial, . Since the equation in the questi...

23 hours ago | 0

Answered
how we can plot different random 3d spheres deployment with spherical sector in a given area using MATLAB? Image of one such sphere is attached
Hi @Soni Sangwan, To plot random 3D spheres in a given area using MATLAB you need to define a random radius and center for the ...

23 hours ago | 0

Answered
Why matlab command window cannot work properly after i changed windows login ?
Hi @Mirza, It appears that the MATLAB installation on your Windows computer has been linked to an individual license that ties...

24 hours ago | 0

Answered
Non-uniform heat flux on a cube face defined by a matrix
Hi @Lee, To set the boundary conditions for the thermal model, the function handle that is used to define the "HeatFlux" prop...

2 days ago | 0

Answered
Doubt in labelling data for machine learning in MATLAB.
Hi @charu shree, Assuming that the SVM is used here to map the feature vectors and with their corresponding class labels an...

3 days ago | 0

Answered
how to apply subdomain boundary conditions
Hi @mete ustundag, The code uses the set formula "sf" to decompose the geometry and hence results in a figure with a single fa...

3 days ago | 0

Answered
Time domain signal representation problem - sampling frequency
Hi @Lukasz, Unsampling a signal increases the sample number due to insertion of zeros between the original samples. This proce...

3 days ago | 0

Answered
I have adajacency matrix B. Now ,I want to write a matlab code for time series .I have written some part of the code
Hi @mks, The code uses a deterministic method for rewiring the adjacency matrix and can cause issues such as self looping and ...

3 days ago | 0

Answered
create Sbox for encryption
Hi @Hussain, You should add input validation to your code to ensure that the key is a string of 64 characters. The offset used...

15 days ago | 0

Answered
App Designer "internal error" after trying to move the file
Hi @michael bajema, Before trying out any troubleshooting methods, always create backups of your original files. It is not pos...

15 days ago | 0

Answered
graphics displaying problem in gui after using copyobj
Hi @hui wang, Assuming that you're experiencing issues with the "copyObj" function not accurately copying data from the origin...

15 days ago | 0

Answered
Get the figures that video created
Hi @Ron, Assuming that you have the script that was used to create the video, you can modify the script and use the "savefig" ...

15 days ago | 0

Answered
Conical Projection in plane
Hi @SWETHA MOHANACHANDRAN, Assuming that you are trying to visualize a cone that emanates from a point and extends outward int...

17 days ago | 0

Answered
Apply conditions in if statement.
Hi @Silpa K, Assuming that you are trying to find the modulus of the value so that you can effectively compare this with , th...

17 days ago | 0

Answered
Show given vector is in the span of two other vectors
Hi @amy wang, Using the "linsolve" function to set up the system of linear equations indeed is the solution to your problem. Y...

17 days ago | 0

Answered
Using fminsearch for solving a problem with constraints
Hi @Andrew, You can perform the softmax transformation on your unconstrained variables in the code itself. The softmax transfo...

17 days ago | 0

Answered
How to assign nodes to faces of a 3D tetrahedral mesh (pdetool)
Hi @claudio, Thanks for providing the solution for assigning nodes to faces of a 3D tetrahedral mesh. Generating a mesh for yo...

17 days ago | 0

Answered
Simplex Algorithm in MatLab
Hi @FK KF, You can use the "linprog" function and before running the code for the function, set the "optimoptions" to use the ...

18 days ago | 0

Answered
Genetic algorithm objective function
Hi @GEORGIOS BEKAS, You can create a symbolic vector and then compute the sum of all elements in . numVariables = 100; % ...

18 days ago | 0

Answered
Getting the centroids in KNN clasiification
Hi @Mathieu Chêne, Unlike the K-Means clustering algorithm, that explicitly computes centroids of clusters, the K-Nearest Neig...

18 days ago | 0

Answered
How to define this function?
Hi @Niloufar, You can create the following function handle for and calculate using the "integral" function: % Sample values...

23 days ago | 0

Answered
How to find the Relative Root Mean Square Error for the given data?
Hi @Sadiq Akbar, @Manikanta Aditya's comment (https://www.mathworks.com/matlabcentral/answers/2091226-how-to-find-the-relative...

23 days ago | 0

Answered
What is wrong in this code? trying to code the equation and j is time instant
Hi @Aastha Singla, Here are a few corrections you can make in your code: The size of vector x should be , i.e. not . Matrix...

23 days ago | 0

Answered
linearity
Hi @puneeth kumar.s, Considering that you are plotting data and trying to determine linearity based on how well the data fits ...

23 days ago | 0

Answered
Linear solving without fixing the input
Hi @D D, In essence, I believe you are trying to solve the equation, where . The use of "lsqlin" does not seem appropriate fo...

23 days ago | 0

Answered
Maltab Version R2015a required for student download
Hi @Max Bickelhaupt, As stated in the comments, there is no free version available for MATLAB. You can install the trial versio...

23 days ago | 0

Answered
Avast detected a virus threat (IDP.ALEXA.54) in my own standalone application
Hi @Jakub Haifler, The IDP.ALEXA.54 alert is a generic detection that can sometimes mistakenly identify legitimate software, s...

25 days ago | 0

Answered
on implementing the code in matlab its showing error "unrecognised variable or function 'leach_enhanced'. "
Hi @Ritika Parija, The function "leach_enhanced" appears to be a custom function, as it is not provided by MATLAB. Since this f...

25 days ago | 0

Answered
Problemas con X11 en la instalación en Ubuntu 24.04
Hi @Carlos Garcia Gomez, Due to glibc incompatibility with Linux machines using Intel or older NVIDIA graphics chips, OpenGL f...

1 month ago | 0

Answered
MATLABEngine.ConnectMATLAB() executed twice: first time it works, subsequent times - won't work, until you restart the program
Hi @Andy, You cannot connect to the same shared MATLAB session twice. This is because the "StartMATLAB" function returns a "un...

1 month ago | 0

Load more