Community Profile

photo

Rajeev

MathWorks

Last seen: 3 månader ago Active since 2022

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Can someone help me generate numerical values ​​for this sample problem using bvp4c solver?
Can you try adding the line: y_values(i) = interp1(sol.x, sol.y(1,:), g); in the loop?

ungefär ett år ago | 1

| accepted

Answered
How can I open TCP/IP server in MATLAB 2020b?
You can create a TCP/IP server using the 'java.net.ServerSocket' class in MATLAB. % Define the port number for the server por...

ungefär ett år ago | 0

Answered
Identify triangular faces of a mesh
To highlight the triangle with areas greater than, let's say 'k', we need to first compute all the areas of the triangles given ...

ungefär ett år ago | 0

| accepted

Answered
No degradation color on the 3D plot
It seems like the issue might be with the way the contour levels are set using: % Original contour levels L=[Lmin,0.00001,0.00...

ungefär ett år ago | 0

Answered
Matlab engine starting error in Python (docker)
The error message indicates that the connection to the MATLAB engine has been lost. This can happen for a number of reasons that...

ungefär ett år ago | 0

Answered
Error while executing 'osqp' class destructor
This error message indicates that MATLAB is unable to find the "osqp_mex" function, which is required by the "osqp" class destru...

ungefär ett år ago | 0

Answered
Approximate Value Using Taylor Polynomial
You can first subsitute x in T using the 'subs' function and then use the 'double' to convert the answer to double precision typ...

ungefär ett år ago | 0

Answered
connect marker with lines
You can use the '-' in front of the marker to join the points with a line. Example: plot(i,Max_Temp30(1,i),'-o','MarkerFaceColo...

ungefär ett år ago | 0

Answered
Highlight 2 lowest weight edges out of 3 from node
Hi, You can pair the edges with their weights and then apply "mink" to get the edges with least weights. Creating a function w...

ungefär ett år ago | 0

| accepted

Answered
Trying to discover both First and Second Shortests paths but returns only last vertex
Hi, It looks like the if condition to update the distances of neighbours is never executed because the 'v' you selected is inco...

ungefär ett år ago | 0

Answered
Is there a way to get result of doc command as an HTML/XML object?
As of now, the "doc" command does not return any kind of object and hence there is no result to store.

ungefär ett år ago | 0

Answered
Generate three datasets with given details
This code is correct if you want to generate data with the required metrics. You can verify the results by using the "mean" and...

ungefär ett år ago | 0

Answered
Predictandupdatestate and train data in lstm
The reason for offsetting the dependent and independent variables of the training data is that for the current time step, we wan...

ungefär ett år ago | 0

| accepted

Answered
how to evaluate my result knn code using confusion matrix
There are two requirements for the "confusionmat" function that are not being fullfilled in your matlab script: The type of the...

ungefär ett år ago | 0

| accepted

Answered
Unable to run Simulink
Launch MATLABWindow.exe and check the error >> cd (matlabroot) % ex. cd 'C:\Program Files\MATLAB\R2022b' >> !./bin/win64/MATL...

mer än ett år ago | 0

Answered
Python virtual environment in Matlab
This is a known issue that the development team has been notified of. In the meantime, I have a temporary workaround for your ...

mer än ett år ago | 1

Answered
Extracting testing and training data from a single dataset
Hi Rahul, Logical Indexing can be used to extract the required data from the array. Assuming that the name of the matrix is "l...

mer än ett år ago | 0