Statistiques
RANG
2 071
of 301 513
RÉPUTATION
32
CONTRIBUTIONS
0 Questions
13 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
2
RANG
of 21 310
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Normalize from -1 to 1... help me
%dataSet = your data min_L = -1; max_L = 1; dataSet = dataSet/norm(dataSet, Inf); %Normalize between 0 and 1 dataS...
plus de 9 ans il y a | 0
Cell array in a loop
% B is already defined, a matrix of doubles % A is already defined, a cell array of matrices % B and the matrices in A h...
plus de 9 ans il y a | 0
Import data from text file in awkward format
This is neither the fastest, nor the most elegant solution, but it works. %Read File fid = fopen('example.txt','rt'); ...
plus de 9 ans il y a | 0
| A accepté
While loop going one too far
Ah, the good old "Hard equality" problem.. Simply put, (i<2) doesn't return false, since (i) is not actually equal to (2) ! ...
plus de 9 ans il y a | 0
Error with transfer function?
Aside from posting your model to actually identify the problem, possible solutions could be: 1) Initialize your blocks (Inte...
plus de 9 ans il y a | 0
| A accepté
Import of mixed string and numerical data from excel file
I believe that the easiest (not the fastest) way is to import all the data at once in matlab environment then process it there. ...
plus de 9 ans il y a | 0
| A accepté
Problem with loop to construct graph
%Reading the data from sheet 1, cells B2 to D8 dataMat = xlsread('Book1.xlsx', 1, 'B2:D8', 'basic'); %Get sum of numbers...
plus de 9 ans il y a | 0
| A accepté
How to skip (iteration) empty folders and empty text files
%Get list of all files in current directory and beneath [~,list] = system('dir /S *.txt'); result = textscan(list, '%s',...
plus de 9 ans il y a | 0
| A accepté
How to remove the MATLAB logo when masking a MATLAB Function block in Simulink?
Right Click on the Matlab function block -> Mask -> Edit Mask In the 'Icon drawing commands' write disp('MyFunc') Pre...
plus de 9 ans il y a | 0
Dear Sirs, how to get points that are in minimum distance from a curve, that was plotted using 100 points, with respect to points of other curve.
Assuming the two arrays are of the same size: values = 0 : pi/100 : 2*pi; A = cos(values); B = sin(values); min_di...
plus de 9 ans il y a | 0
Where is my mistake in trying to write a cell array with both strings and numbers to XLS file?
You can't pass data of "cell" class to an xls file, so you need to convert all data to strings. Either cast _char(data)_ or ...
plus de 9 ans il y a | 1
Compute different length mean when cell equals number
Arr1 = [23, 23, 24, 25, 25, 25, 26, 26, 27, 27, 27, 27]; Arr2 = [42, 43, 44, 38, 35, 36, 32, 28, 45, 46, 38, 29]; uniA...
plus de 9 ans il y a | 1
| A accepté
Load .mat file
Try this: A = textscan(fid, '%s', 'Delimiter', ' '); impData = A{1}; %%This cell contains your data impData = impData (3...
plus de 9 ans il y a | 0
| A accepté




