photo

Aditya Gupta


Last seen: más de 3 años hace Con actividad desde 2020

Followers: 0   Following: 0

Estadística

  • Knowledgeable Level 2
  • First Answer

Ver insignias

Feeds

Ver por

Respondida
How to plot circle by one single equation?
Adding to the MVP's (perfect) answer, I found one more way: radius = 2; originX = 0; originY = 0; rectangle('Position',[or...

más de 4 años hace | 0

Respondida
Accumulate type function for particular row
Maybe you are looking for cumsum() : https://www.mathworks.com/help/matlab/ref/cumsum.html It works like : summ=cumsum(arr,r...

más de 4 años hace | 1

| aceptada

Respondida
Cannot find error source
Type : le = lasterror That should give you info about the last error. You can find where it is happening (eg : stack).

más de 4 años hace | 0

| aceptada

Respondida
Running tiny sections of code to debug
Highlight the lines of code you want to run and right click run selection or use breakpoints.

más de 4 años hace | 0

Respondida
Plotting of data on the same graph by same script
Create an axes object and set the option for adding of new lines. Read documentation for axes here : https://www.mathworks.com/...

más de 4 años hace | 0

| aceptada

Respondida
How to keep the size of interface fixed?
Look for 'Position' in your m-file. You're probably calling set() with the 'Position' property set to be the whole screen.

más de 4 años hace | 0

| aceptada

Respondida
how to run much phyton script with matlab
You can alternatively create a temporary bash script using file operations (and - ofcourse - loops) of the following format: p...

más de 4 años hace | 0

Respondida
Index a number of coordinates as vertex(1), vertex(2), ... vertex(n) by using a for loop and vertex(n) = [x(1,n) y(1,n)]
Are you perhaps trying to do something like this? No_vertices = input('Enter number of vertices: '); x = zeros(1,No_vertices...

más de 4 años hace | 0

| aceptada