photo

Karan Kannoujiya


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
How to fix errors caused by: "Index exceeds the number of array elements (7) "
Hi stephen, This error is caused when user try to access that index in the array which does not exist for e.g suppose you crea...

2 years ago | 0

Answered
Perfect Square in Matlab
Hi Zaid, You can use below code to check for a perfect square--> %num---> number you want to check y=sqrt(num); z=ceil(y); ...

2 years ago | 0

Answered
How I can adjust this x axis label incase of very small values of plot?
Hi Nisaar, You can go through this link to set axis size and aspect ratio https://in.mathworks.com/help/matlab/ref/axis.html#d...

2 years ago | 0

Answered
live editor shows complete blank
Hi Lucas, You can contact the Technical support team for the issue https://in.mathworks.com/matlabcentral/answers/486179-live...

2 years ago | 0

| accepted

Answered
Save variable from multiple excel spreadsheets
Hi, You can use below code to save the data for diffrent sheet---> %define other varibles also like this maxStrain=[]; minSt...

2 years ago | 0

| accepted

Answered
No text of files displayed, can't run scripts, only command line works.
Hi Rauan, Try to install matlab again after uninstalling it and see if its working

2 years ago | 1

Answered
generate a random number base on pdf function
Hi hong, so your range is between -1 to 1 in that case your domain will be between -3 to 1 if you want to generate N random nu...

2 years ago | 0

Answered
how can i print output from table to word or excel?
Hi arian, You want to write the table data to excel or word--> You can use below command to write the table data into excel w...

2 years ago | 1

| accepted

Answered
Remove all zeros from a matrix
Hi moritz, If you want to remove zero from a cell then you will have remove that row also otherwise it will not remain a matrix...

2 years ago | 0

Answered
how can i know if x position of a vector is empty?
Hi Erick, So you want to check whether a element is ps1(in your case) is 0 or not. So, isempty or ismissing function will not...

2 years ago | 0

Answered
About variables and equations
Hello shreekanteshwara, so your workflow is-> a=6; A=a^2; now the value of 'A' would be 36 Now you updated a to 5 a=5; V...

2 years ago | 0

| accepted

Answered
Construct if cycle for two variables
Hi Miguel, For checking the above the condition you will have to use two ifs and this the right way of doing it.

2 years ago | 0