photo

ahmed nebli


Last seen: etwa 2 Monate vor Aktiv seit 2018

Followers: 0   Following: 0

Nachricht

Statistik

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

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
Need help with storing live data from sensors into array
what you need to do is create a vector/matri without defining its size first (e.g.: A=[]; ) then use the command vertcat. see h...

fast 6 Jahre vor | 0

Beantwortet
Best sorting algorithm for large array
I suggest you just use the command sort, see this link: https://www.mathworks.com/help/matlab/ref/sort.html

fast 6 Jahre vor | 0

Beantwortet
importdata not reading date and time columns
i suggest you use the command "readtable" , see this link https://www.mathworks.com/help/matlab/ref/readtable.html

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
Remove repeat values in a text file
i suggest you need to write an if condition on the minute vector exemple : if minute(n-1) == minute(n) then you delete the row n...

fast 6 Jahre vor | 0

Beantwortet
Plotting "live" data inside while loop?
i suggest you try using the function set like in the link bellow https://www.mathworks.com/help/matlab/ref/set.html

fast 6 Jahre vor | 0

Beantwortet
How to split vector to seqences
u can use something like that: for i=1:8:24 var = x[i,1]; % here you need to do what store var in someplace else in order n...

fast 6 Jahre vor | 0

Beantwortet
To create zeros according to the length
I don't think you can put numérical zeros ( 00000 will be 0 if so), therefore you need to write these zeros as a string. i sug...

fast 6 Jahre vor | 1

| akzeptiert

Beantwortet
Merge Matrices (365 matrix to 1)
i suggest you try using the fuction cat to create a multidimentional array like in this exemple https://www.mathworks.com/help/m...

fast 6 Jahre vor | 0

| akzeptiert

Beantwortet
I have a gps file to read, Can anyone help me with a code to read from txt?
You need to use the function fscanf but before that you need to open the file, i suggest you follow the exemple in this link htt...

fast 6 Jahre vor | 0

Beantwortet
How do I plot this on MATLAB
you can run it in a for loop (each time incrementing the value of t) , store the values of v in a vector and plot the vector. ch...

fast 6 Jahre vor | 0

Beantwortet
Removing NAN values from the table and deleting it.
use this : (isnan(X)) = [] % X is the table

etwa 6 Jahre vor | 1

Beantwortet
how do I Load multiple csv files to collate data???
try something like that i could work num_files = 5; for i = 1 : num_files lat = ncread(sprintf('rawdata0', i), 'lat'); ...

etwa 6 Jahre vor | 0

Beantwortet
how to do 5 fold cross-validation for regression problem?
u have to use cvpartition like this exapmple kf=5; c = cvpartition(size(data.label,1),'KFold',kf); u can find more infor...

etwa 6 Jahre vor | 0

Beantwortet
How to compare each four rows by each other?
i prpose this algorithm: u define a variable m=4, and n=1, n is the number of the row, each time u search for your diffrences b...

etwa 6 Jahre vor | 0

Beantwortet
How to find the best ratio of producers in an energy system
i think u may make a 3 nested loops in which each time you fix two variables and vary the 3 rd variable and each time u store th...

etwa 6 Jahre vor | 0

Beantwortet
How can i resolve this error?
u need to go back to wiener2 function and see how much variable u need, i think you forgot a variable

etwa 6 Jahre vor | 0

| akzeptiert

Beantwortet
Importing a CSV with numbers and strings and blank space
u need to save the csv file as xls file and then use the function xlsread, it should work , use something like this: xlsread('...

etwa 6 Jahre vor | 0

Beantwortet
Hi. I want the plot with a marker symbol. I want to plot like this figure symbol(marker by red pen).
u need to use lineSpec this link may help you https://www.mathworks.com/help/matlab/ref/linespec.html

etwa 6 Jahre vor | 0

Beantwortet
editing large text file
this is how is suggest you can do : -import your file/-use a for loop to search for 'H' and after it a 'j' and after it a 'Y' / ...

etwa 6 Jahre vor | 0

Beantwortet
Combine variables in workspace into one table?
is this link helpful ? <https://www.mathworks.com/help/stats/create-a-dataset-from-workspace-variables.html>

etwa 6 Jahre vor | 0

| akzeptiert

Beantwortet
How to calculate mean frequency for mat signal
u can just import the frequencies, store all the frequencies in an array and then use the function mean like bellow https://...

etwa 6 Jahre vor | 0

Beantwortet
Mexing problem (gcc compiler version 4.9.x needed)
can u update the gcc, or try to find anothor tool for mexing files

etwa 6 Jahre vor | 0

Beantwortet
error: Too many output arguments
when writing the for loop it dosen't end with a ; and next the second for loop need to be under the first for loop and decaled ...

etwa 6 Jahre vor | 0

Beantwortet
SOFTWARE INSTALLION IN A NEW COMPUTER
if u still have the licence jey there is no need to buy it again

etwa 6 Jahre vor | 0

Beantwortet
Import grid data and surface fit
1- u need to use the function xlsread , see this link : https://www.mathworks.com/help/matlab/ref/xlsread.html

etwa 6 Jahre vor | 0

Beantwortet
cvpartition grouped data for stratified hold-out classification?
i think you should split you data into training and testing maualy without even using cv partition because as u said, cvpartitio...

etwa 6 Jahre vor | 0

Beantwortet
How to save variables generated inside 'for' loop which contains a function, to the workspace?
u can create an array, and use the function vertcat to store the variable A each time

etwa 6 Jahre vor | 0

Beantwortet
How to resize jpg image through matlab to EXACT 300kb file size
u can use the function imresize like this link https://www.mathworks.com/help/images/ref/imresize.html but u need to know how ...

etwa 6 Jahre vor | 0

Beantwortet
Import .txt file and sorting the data from the title
this link may help you https://www.mathworks.com/help/matlab/ref/fscanf.html

etwa 6 Jahre vor | 0

Beantwortet
How to find a value from column 1 for given column 2 and 3 values.
u can use a code like this % A is you matrix for i=1:size(A,1) y(i)=A(i,1); %the volocity for each x , y end

etwa 6 Jahre vor | 0

Mehr laden