Answered Can't get simple for loop to run
Hi Alex ,
I think you are defining "results " variable wrong. From my understanding you want to results variable to be similar ...
3 years ago | 0
Answered How to Plot variation of an output?
Hi Nataly,
Follow the steps below :
x = [ 1 : 1:100];%creating a array from 1 to 100 with step of 1
Cps = 1.2;%defining const...
3 years ago | 0
Answered How to remove the margins of a plot
Hi Hao Shi,
Add these line of code to your answer :
set(gca, 'Position', [0.02,0.1,1,0.82])
set(gcf,'OuterPosition',[50 50 68...
3 years ago | 3
Answered How to make graph using simulink display block
Hi Sourish,
There are several ways to obtain graph.
1) First as Vasishtha mentioned you can "to workspace" block so it will e...
3 years ago | 0
Answered How to calculate area in a binary image?
Hi Asmalina,
1) To find the area in pixel size we just need to find the number of white pixel which would be
area = bwarea(bw)...
3 years ago | 0
| accepted
Answered example of linecirc function
Hi Manoj,
linecirc gives the intersection points of a line and a circle.
Syntax:
[xout,yout] = linecirc(slope,intercpt,cent...
Answered Saving a file in Matlab R2020a
Hey ,
On the Home tab, in the Environment section, click Preferences. From the left panel go to MATLAB->Editor/Debugger->Backup...
Answered Using filenames to name timetables
Hey Karin,
As per my understanding, you want to convert .txt file into a timetable. First you might need to make sure that .t...