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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 3

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

| accepted

example of linecirc function
Hi Manoj, linecirc gives the intersection points of a line and a circle. Syntax: [xout,yout] = linecirc(slope,intercpt,cent...

mer än 2 år ago | 0

| accepted

Use Matlab code in Python after creating standalone package
Hi Maryam , The MATLAB Engine API for Python provides a package for Python to call MATLAB as a computational engine. The engin...

mer än 2 år ago | 0

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

mer än 2 år ago | 0

How can I call a python-Function in Matlab with an Array as input and return Value?
Hey Wilhelm, My understanding is that you want to import the functionality of a python function. It's very common practise and...

mer än 2 år ago | 0

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

mer än 2 år ago | 0