Answered
How to applly band passe filter for ecg signal on matlabe
Find the filter you want to apply on ECG signal and find it's corresponding function in Matlab. In the documentation, use examp...

1 year ago | 0

Answered
Dynamic array variables problems
You really should not do this. It's bit tricky to do and.. it will strike back later. Better solution would be to create a stru...

1 year ago | 0

Answered
How to obtain vector of specific values in MATLAB
Hello, this looks like homework. I'd like to give you a little bit of a direction, but then you need to try by yourselves. Bec...

1 year ago | 0

| accepted

Answered
Is it possible to share a variable from one MATLAB instance to a different MATLAB instance
Easiest solution would be to save your variables through workspace or via ‘save’ command. Then, in your script, include loading ...

1 year ago | 0

Answered
convert char to table or cell
Something like this should work. It would be easier to work with it you attached the file so we can work with it. Hope I helped...

1 year ago | 0

| accepted

Answered
Export nested cell array to excel
You could just try to avoid using the cells, and just create one big matrix (array) with NaNs and then fill in your data. Howeve...

1 year ago | 0

Answered
multiple 1x1 cell array to struct
After your loop ends, you can simply assign all the numbers into a column of a struct. It would be much faster than importing in...

1 year ago | 1

Question


Create plot with shaded standard deviation, but ...
Hello, I have tried searching on the internet about this issue, but I haven't found what I needed, so I'm here. I am trying to...

1 year ago | 1 answer | 0

1

answer

Answered
How to mark NaN values on the plot?
Use isnan() on the original vector. This will give you logical vector, which tells you where the NaNs are. You can use this inde...

1 year ago | 1

| accepted

Answered
Plot lines appear fuzzy
well, are your data perfectly linear? if these are your data, Matlab will interpret them in the way they are, which may be "fuzz...

1 year ago | 0

Question


Intersection of two tables
Hi, I'm trying to intersect two tables. They share same column with strings, and I want strings that are in both of these tabl...

2 years ago | 2 answers | 0

2

answers

Answered
Output variables of different Class to csv or xls file.
Have you tried using writematrix()? Works usually the best.

2 years ago | 0

| accepted

Answered
User date input in csvread filename
Hello, hope this helps. input_date = input("Choose date in YYYY-MM-DD format.","s") % save date as string filename = "ArTP...

2 years ago | 1

| accepted

Answered
How do I find the white pixel in the row/column
Hope this answers your question. img = imread("pic1.jpg"); % loading your picture img = rgb2gray(img); % convert to b...

2 years ago | 0

Answered
How to calculate the difference between different values in a table?
% loading data and separating useful data from useless data load Foveal.mat T = ans; % your table T_1002 = T(matches(T.messag...

2 years ago | 1

| accepted

Answered
Choose manually 1 out of 4 subplots which looks "best"
I'm sure there are more options and ways to do it. My idea is that at the end of the script, you would use input function. In c...

2 years ago | 0

Answered
How to find the number of groups in another group?
Hello, if every group always starts with number 1, you can try find their positions. It would look like so: idx = find(matri...

2 years ago | 0

Answered
How to change a single word in user interface with the input command?
not sure if I understand your idea, but you could try doing this: prompt = ['does AN fibre',fibres_without_BF{i},'look ok?']; %...

2 years ago | 0

| accepted

Answered
matrix addition according to position vector
This looks like homework. It seems like you know what kind of functions you should work with. I'd recommend to study the docume...

2 years ago | 0

Answered
import data from csv and plot it
I looked at your data and it looks like your decimal numbers are separated by a decimal "comma" (,), which can cause problems be...

2 years ago | 0

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 years ago

Answered
i'm using matlab mobile to collect imu data in vehicle from my iphone i needed to know how to adjust the axis ?
When you go into "Sensors" in Matlab Mobile, you can see variables measured by your mobile sensors in real-time. You can simply ...

2 years ago | 0

| accepted

Answered
How to sort rows of a 2D array based on another array
Zdravím kolego, // Hello, I have tried something. I can't say it's "cleaner solution", but it's without for loop. You basically...

2 years ago | 0

Answered
I don't know how to make and algorithm to find BMI?
This looks like homework. Try creating a function. Inputs will be height and weight, and output will be the BMI. Some useful l...

2 years ago | 3

Answered
Change values in vectors
If you want to apply it to this vector, it's not complicated. But if you wanted to apply it to a more complex vector where the n...

2 years ago | 0

Answered
Remove NaN Entries in a Dataset
You do not need to go through every element of vector with for loop. You can use isnan on the vector, which will give you logic...

2 years ago | 0

| accepted

Answered
Operate with date and time string
% Your datetime as strings dt_event= '2021_04_23 16_58_14'; dt_site= '2021_04_23 17_00_18'; % Convert to datetime format d...

2 years ago | 0

| accepted

Answered
Merging the Data in the Text Files for the Number of "N" Text Files
Hey, there's a lot of ways to read text files. For your purposes, I think fileread and fscanf functions might do well. Then, y...

2 years ago | 0

| accepted

Answered
Sort a bank of ECG samples to 2 groups
Hello, as Star Strider already mentioned, you can filter data based on the R-amplitude and or heart rate (time between R–R). I...

2 years ago | 0

Answered
Why doesn't the for loop work?
x=1:16; p=isprime(x); x(p==0)=0; % Put zeros on the positions where p == 0 in vector X Is this what you wanted? ...

2 years ago | 0

| accepted

Load more