Community Profile

# Iuliu Ardelean

Last seen: 3 months ago Active since 2021

PhD Student

Programming Languages:
Python, C++, C, C#, MATLAB, Arduino
Spoken Languages:
English

All

#### Content Feed

View by

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

6 months ago

What is missing from MATLAB #2 - the next decade edition
I would like imagesc(C) to work with 3 dimensional arrays.

1 year ago | 0

Traveling Salesman Problem Without Return
Hi If you know your start and end points, and your graph is not directed: start_idx = 1; % make node 1 start point end_idx =...

1 year ago | 0

Support Vector Machine Regression Predict
Hey You could try: numTrainPoints = 100; % Let's say you want 100 train points dtrain = d(1:numTrainPoints, 1:(A-af); % selec...

2 years ago | 0

Extracting a subset data from column 2 based on column 1
Hey I assume your data looks something like this: time = 1:100; magnitude = rand(1,100); selection = magnitude(time>40 & t...

2 years ago | 0

| accepted

custom regression deep learning
Hey, when you call dlX=dlarray(inputs2), you should specify which dimensions are Spatial/Batch/Channel etc. e.g. X = randn(3,...

2 years ago | 0

| accepted

How can I give different colours not randomly to large number of lines in one plot?
Let's say you have 7 colours: x = rand(7, 100); y = rand(7, 100); col = parula(7); % replace col=['r', 'y', 'b'] with col=par...

2 years ago | 0

custom multiple output regression
layers1 = [ imageInputLayer([21 21 1],"Name","imageinput") convolution2dLayer([3 3],32,"Name","conv_1","Padding","same...

2 years ago | 0

| accepted

Inputting images into a pre existing neural network
Maybe this is useful: https://uk.mathworks.com/help/deeplearning/ug/classify-image-using-googlenet.html https://uk.mathworks....

2 years ago | 0

Reconstructing a 3D Surface from a 2D Surface using Mesh surface plot in Matlab
Hey! Use surf instead of mesh Looks like this: Here it is: I = imread('2d_test_image.png'); Igray = rgb2gray(I); Igray =...

2 years ago | 0

| accepted

finding which number row my result is from
Check out https://uk.mathworks.com/help/matlab/ref/find.html [row,col] = find(___)

2 years ago | 2

2D line plot xy with color from z variable
Try this: x = 1:100; y = rand(1, 100); z = randsample(32, 100, true); figure hold on for i = 1:32 plot(x(z==i), y(z...

2 years ago | 0

How to add a value to the next available column or row in an array using for loop?
You can try removing whatever elements are equal to zero: Data.A.Var1(Data.A.Var1 == 0) = [] Data.B.Var1(Data.B.Var1 == 0) = [...

2 years ago | 0

Extract specific data from 3D matrix
size = 10; A = randi(3, [size size 3]); % matrix containing elements 1, 2 and 3 B = randi(255, [size size 3]); % RGB matrix [...

2 years ago | 0

How do I find the local maxima near already specified points on an image?
Each image is a matrix. An RGB image is a 3d matrix of size (height, width, depth). The depth will be 3, i.e. red, green and blu...

2 years ago | 1

Substitue values with text
Maybe this works for you: early = [10 20 30]; delay = [11 19 31]; final = strings(1, 3); % create an empty string array with ...

2 years ago | 0

| accepted

How to animate a plot of raw EEG data?
Hi I've changed a few things in your code. Firstly, below is your movie as a .gif file. You can make it smoother if you want...

2 years ago | 2

Make a series of odd numbers from 77 to 56
numbers = 77:-2:56;

2 years ago | 1

| accepted