photo

Ganesh


Last seen: 17 days ago Active since 2023

Followers: 1   Following: 0

Spoken Languages:
English
Pronouns:
He/him

Statistics

  • Knowledgeable Level 4
  • First Answer

View badges

Feeds

View by

Answered
Interactive/zoomable Openstreetmap without mapping toolbox
Hi @Martin Möhring, You encounter this issue as the image you download from the URL is not in "RGB format" but is an "Indexed I...

4 months ago | 0

| accepted

Answered
How to convert euler angles to rotation matrix and back to euler angles consistently?
Hi @Manish Kumar Nayak, I have written the code for converting Euler Angles to Rotation matrix and back below: Rzc = -0.003...

4 months ago | 1

| accepted

Answered
how to get data from fig use matlab
Hi @wenchao zhang You've the best chance with this problem by using an OCR. I have attached a sample code for OCR on your tab...

4 months ago | 1

| accepted

Answered
Programmatically to get member data type in In Bus Element Block
Hi @tan boonmee, I have created and uploaded an example file with an "Out Bus Element Block" and shown how to access the "Data ...

4 months ago | 1

Answered
How to improve the running speed after converting to code by setting the properties in the Simulink model?
Hi @peter, The best way to go about your problem is to have a look at the Code Efficiency Page, for which I am attaching the ...

4 months ago | 1

| accepted

Answered
Index in position 2 exceeds array bounds. Index must not exceed 1.
You've not defined Xev_1 in line 44

5 months ago | 2

| accepted

Answered
Num of max consective occurance of 'T'
Hi @Sarvesh, You can use the following code: load('Consective Occ of T.mat') [uniqueIDs, maxConsecutiveOnes, closestOneIndice...

5 months ago | 0

| accepted

Answered
2 different legend on the same graph for the same data
Hi @Irad Brandys, You can usually have only 1 legend per plot. However, you can use a small workaround to make two overlappin...

5 months ago | 0

Answered
Best/Cleanest way to select a specific sheet from an excel file?
Hi @Kealan, Excuse me for this elaborate answer, but I will be answering two parts of your question. To say the "best" way in...

5 months ago | 0

Answered
modify v1 so that any value less than 4 is replaced with the value 0. Please help me making code.
Hi @Engr.Syed Hassan Iqbal Shah, v1 = randi([1 6],1,10) % Example data % Replace any value less than 4 with 0 v1(v1 < 4) = ...

5 months ago | 0

| accepted

Answered
Matlab Online Cannot "Open" Simulink File
Hi @Yan Kai Lai, This issue was reproducible by me and it seems to be severe. I cannot find many users reporting the same in ...

5 months ago | 1

| accepted

Answered
ReqIF import error: Type 'xhtml:p' has not been found in the registry
Hi @shuang, There is a temporary workaround for this issue, as it has been pointed out in the following MATLAB Answer Thread: ...

5 months ago | 0

Answered
Has the MATLAB 'mget' function changed from versions R2020a to R2024a?
Hi @Gavin The following are the documentation links of "mget()" function from 2020b and 2024a: 2020b: https://www.mathworks.co...

5 months ago | 0

Answered
quantaize data and build an histogram
Hi @michael, You can use the following code to achieve what you are trying to do: X = randi([0, 360], 1000, 1); Y = randi([...

5 months ago | 0

Answered
how to using fitcknn instead of knnclassify?
Hi @Bayu Ramadhan, To use the "fitcknn" in place of "knnclassify" you would have to follow the same procudure as using "knncl...

5 months ago | 0

Answered
Calling python function using Matlab error: Unable to resolve the name
Hi @Saswati, It is posisble that the issue you are encountering is due to python changes not reflecting on your MATLAB Window...

5 months ago | 0

Answered
Low performance when training SVM model using "polynomial" kernel function
Hi @minhyuk jeung, The accuracy you achieve with a Kernal Function would depend on the data distribution. Adding your data mi...

5 months ago | 2

Answered
The maximum value is not changing even after adding 1
Hi @Palguna Gopireddy, The reason is quite simple, your data is stored as an "uint8" which stands for "unsigned integers in 8 b...

5 months ago | 1

Answered
Parsing Through HTLM Style .txt File
Hi @Adam Holland, You can consider using the "readstruct()" function in MATLAB. It allows you to input an "XML" file and pars...

5 months ago | 0

Answered
Error in user-supplied fitness function evaluation - Genetic Algorithm
Hi @Matheus Caramalac, The issue here seems to be arising due to the following piece of code: ind_acom = find(erro >= -valor...

5 months ago | 0

| accepted

Answered
If I change my PC, can I re-install a Matlab license in the new PC (uninstalling from the old)?
Yes, your MATLAB license can be transferred to your new computer. Refer to the following MATLAB Answer: https://www.mathworks....

5 months ago | 0

Answered
Is it possible to define a distance from obstacles to RRT*?
Hi @Yovel, Adding another solution where you can simply scale up the obstacle map and then change the obstacle map: minDista...

5 months ago | 0

Answered
Is it possible to define a distance from obstacles to RRT*?
Hi @Yovel, To implement the same you would need to modify "isStateValid" routine of a "manipulatorCollisionBodyValidator". You ...

5 months ago | 0

Answered
i have error in runge kutta 4 order.
Hi @Rashmi, The error occurs as you are trying to index the variable "S" while calling function "u3" whereas you have declare...

5 months ago | 0

Answered
Time format is changed to decimal when calling the time data from excel.
Hi @Swathi, time_in_decimal = readmatrix("TimeData.xlsx"); timeDuration = time_in_decimal * 24 * 60 * 60; timeDuration = seco...

5 months ago | 0

| accepted

Answered
why am i getting unsatisfied result with same Training and Testing data in Narx time series network?
Hi @Hemant, Let's try and see the correlation between Current and Temperature. Data = readtable('Data.xlsx'); Current = table...

5 months ago | 0

| accepted

Answered
Extracting data from struct as matrix
Hi @Rashi Monga, You can consider the following workaround for your problem, without using for loops: S(1).a = 1:10; S(2).a...

5 months ago | 1

| accepted

Answered
Unable to read the data in excel file from MATLAB online.
Hi @Swathi, If the "matlabdrive" path indeed points to "/MATLAB Drive/", it's possible that the issue with your file lies wit...

5 months ago | 0

Answered
Extracting data from struct as array
Hi @Rashi Monga, You can use "vertcat()" for using the same. Refer to the following code: % Your structure S(1).a = 1:10; ...

5 months ago | 1

Answered
how to draw this geometry OF TWO SHAPES?
Hi @Ms, For creating the given figure, you need to break down the figure into three parts. Using the 2D Geometry definition, ...

5 months ago | 0

Load more