photo

PT


Last seen: 13 jours il y a Actif depuis 2013

Followers: 0   Following: 0

Message

Statistiques

  • Knowledgeable Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
How do I reserve a size for my data so that zero's are not dropped or forgotten?
Use datevec(datenum('01/02/0003')) The output will be in the form of [ Year Month Day Hour Minute Second ...

plus de 11 ans il y a | 0

Réponse apportée
Can MATLAB increment multiple rows of array data?
%% Load filename = 'test.txt'; fh = fopen(filename, 'r'); Table = []; Rows = {}; ncol = []; j = 0; ...

plus de 11 ans il y a | 1

Réponse apportée
How do I extract certain characters using for loop?
You define the loop index to increase by 5, instead of by 1. a = 'ABCDEFGHIJKLMNO'; for i = 1:5:length(a) b = a...

plus de 11 ans il y a | 0

Réponse apportée
using an array in a for loop
array = 1:100; newarray = cell(length(array),1); for i = 1:length(array) newarray(i) = {['Name' num2str(array(i...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to have a switch case statement with the number of cases based on the length of a variable?
I am not aware there is any way to dynamically populate a switch statement. However, you can populate the popup menu during runt...

plus de 11 ans il y a | 0

Réponse apportée
Edit line in text document
Two issues: 1. As the help of fopen states, you must have a fseek between fgetl and fprintf. 2. You are changing the overa...

plus de 11 ans il y a | 0

Réponse apportée
Using an if clouse, and based on a generated code ie User ID displayed in a textbox, how can i link the ID to a user name of choice by displaying the name in a txt box
Let's assume the following: The tag for the pushbutton is "update". The tag for the User ID editbox is "userid". The tag for ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Improving a search algorithm
function y = binge(x) binge= [00000001, 00000010, 00000020, 00000021, .........,90000000; 0.11111, 2.4433, ......

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How do I get MATLAB to output a digital marker via the parallel port to Biopac's Acqknowledge software?
Take a look at "digitalio" in the Data Acquisition Toolbox. Here's a short example code: % Initialize 2 lines (2nd line res...

plus de 11 ans il y a | 0

| A accepté