Community Profile # Anton Kogios

Active since 2022

Biomedical Engineering student

Programming Languages:
MATLAB, Arduino
Spoken Languages:
English

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

How to remove border from figure
The way I go about this is first saving the figure as a PDF (so that it is vectorised): f = figure(1); % OR f = gcf exportgrap...

2 days ago | 0

8 days ago | 0

Adding labels to plots with LaTeX syntax
Take a look at the text function with the latex interpreter. Here's a working example: plot(0:.1:pi,sin(0:.1:pi)) text(pi/2,.9...

15 days ago | 1

Question

Mandelbrot Set with CUDA
I am attempting to work through the three methods to compute the Mandelbrot Set outlined on this page. I am stuck on the third m...

3 months ago | 1 answer | 0

### 1

Applying a mask to 3D Data
nbins = 20; mask = mask==1; selected_voxels = fw(mask); % ? counts = histcounts(selected_voxels, nbins); range = linspace(0,...

6 months ago | 0

How can I fit a scatter plot?
If you want to fit a line to the data as a whole, I think this should work: t = 1:7; Lac = randi(10,[7,24]); scatter(t,Lac) ...

6 months ago | 0

Saving results of a for loop in a cell array
It is hard to run your code without your data, but a potential source of error may be when you use 'for iAnimal = 1:size(DataFra...

6 months ago | 1

low quality figure problem when saving as svg or pdf ( using fill function)
This issue occurs when the figure is quite complex, like your second one. One solution is to force a vectorised export by going ...

7 months ago | 2

| accepted

Convert Pictures into Array
You can use imread to import the images to MATLAB and then use save to save them as a .mat file

7 months ago | 0

solve equation for a variable
This works for me (you were also missing an * in your equation): v = 2.42; si_f235 = 577E-24; N_235 = 780.63E18; phi = 3E13;...

7 months ago | 2

| accepted

Why this piece of code gives error?
Your multiplications in Line 19 give a 2 by 13 matrix in the numerator and a 2 by 2 matrix in the demoninator. To perform matri...

7 months ago | 0

It disconnects when I press on "Get Matlab"

7 months ago | 1

How do I launch the Radar Toolbox from within Matlab?
Here is the documentation for the Radar Toolbox. You can find more information about the apps under the 'Apps' tab at the top an...

7 months ago | 1

Unrecognized function or variable 'calculate_energy' and 'move_monomer'. how to solve the issue?
Your two functions have to be saved in the same directory as the script you are running, and with the name of the file being the...

7 months ago | 0

(question)How does the arguments syntax apply multiple optional type restrictions to one of the input arguments?
function out = myFcn(inImage) mustBeA(inImage,["uint8","logical","double"]) end

7 months ago | 0

| accepted

How do I export an animated figure to some video format for use in a presentation?
Documentation for recording animations: https://mathworks.com/help/matlab/creating_plots/record-animation-for-playback.html and...

7 months ago | 0

product between doubles 200*200
I assume you mean element by element multiplication: prob1 = rand(200,200); prob2 = rand(200,200); prob3 = rand(200,200); F ...

7 months ago | 0

The color of the defined axis changes when I print the figure to PDF
Instead of using the print function, you can use exportgraphics: exportgraphics(fig,[printfolder,print_name,'.png']); exportgr...

7 months ago | 0

| accepted

Matlab will not read this webpage using webread(). What am I doing wrong?

7 months ago | 1

Please direct me to tutorial or best learning course for ThingSpeak Visualizations Functions
Here is the visualisation documentation for Thingspeak, hopefully it points you in the write direction! https://mathworks.com/h...

8 months ago | 0

It looks like the Sonar Equation Calculator is part of the Phased Array System Toolbox. To install this on MATLAB desktop, go t...

8 months ago | 0

why estimating 3 values takes longer time than estimating 4 values?
I am not exactly an 'expert', but the times I get depend on: the order that you run them (like 3, then 2, then 1). From my basi...

8 months ago | 0

| accepted

Solved

Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

11 months ago

Solved

Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

11 months ago

Solved

All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

11 months ago

Solved

Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

11 months ago

Solved

Calculate the Levenshtein distance between two strings
This problem description is lifted from http://en.wikipedia.org/wiki/Levenshtein_distance. The Levenshtein distance between two...

11 months ago

Solved

QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a standard U.S. QWERTY keyboard and it...

11 months ago

Solved

Mandelbrot Numbers
The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

11 months ago

Solved

What is the next step in Conway's Life?
Given a matrix A that represents the state of Conway's game of Life at one instant (time t=n), return the matrix B that represen...

11 months ago