photo

Divyam


Last seen: 11 dagar ago Active since 2023

Followers: 0   Following: 0

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
A matrix in symbolic mode will evaluate it in numeric mode
Hi @JuanMa, The "subs" function can be used to substitute the numeric values in the discretized matrices and the "double" func...

11 dagar ago | 0

Answered
R2023A Behaviour change in Simulink.findBlocks and Simulink.BlockDiagram.createSubSystem
Hi @Jamie, The call to the "findBlocks" method in the code returns the handlers for all the blocks in the model, including the...

11 dagar ago | 0

Answered
using Battery.PulseSequence, is it possible to use this function to process a partial pulse sequence?
Hi @Jessica Trawick, It isnt possible to process battery pulse sequence data with only half the SOC data since the "Battery.Pu...

11 dagar ago | 0

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

12 dagar 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 ...

12 dagar 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...

12 dagar 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...

13 dagar 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...

14 dagar 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...

14 dagar 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...

14 dagar 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 ...

14 dagar 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...

26 dagar 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...

26 dagar 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...

26 dagar 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" ...

26 dagar 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...

28 dagar 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...

28 dagar 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...

28 dagar 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...

28 dagar 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...

28 dagar 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 ...

29 dagar 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; % ...

29 dagar 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...

29 dagar 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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 ...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad 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...

ungefär en månad ago | 0

Load more