Community Profile

photo

Iuliu Ardelean


Last seen: 1 month ago Active since 2021

Statistics

  • Revival Level 1
  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

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

2 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

| accepted

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

7 months ago | 0

| accepted

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

7 months ago | 0

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

7 months ago | 0

| accepted

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

7 months ago | 0

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

7 months ago | 0

| accepted

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

7 months ago | 2

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

7 months ago | 0

Answered
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) = [...

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 1

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

8 months ago | 0

| accepted

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

8 months ago | 2

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

8 months ago | 1

| accepted

Answered
Display value from one table next to a certain name in another table
Hi, I'm assuming your variables will look like this: names_1 = ['AAA'; 'BBB'; 'CCC']; values_1 = [834240000; 9951600; 2383500...

8 months ago | 2

| accepted

Answered
Prediction/Simulation with Matlab
Hi Walter, A good place to start would be polyfit and polyval: https://uk.mathworks.com/help/matlab/ref/polyfit.html . This sh...

8 months ago | 1