Community Profile

photo

Karan Kannoujiya


Last seen: circa un mese ago Active since 2022

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

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

circa un mese 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); ...

circa un mese 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...

circa un mese 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...

circa un mese 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...

circa 2 mesi 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

circa 2 mesi 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...

circa 2 mesi 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...

circa 2 mesi 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...

circa 2 mesi 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...

circa 2 mesi 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...

circa 2 mesi 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 mesi ago | 0