Frage


file manipulation
I'd like to split a directory with 100 files in it into 10 directories with 10 files each.

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


for loop
i'd like to create 10 folders, named folder_1, folder_2....folder_10. Please help me fix the syntax. for i=1:10 mkdir ('fo...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


function call
To tell my function to perform it's operations on files in a directory Function('directory') is the command for that. how do I t...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Memory usage monitor
Is there a way to monitor memory usage of matlab real time while a function is running?

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


executing a function in multiple directories
I have a function which i would like to execute in multiple directories. Because it takes a long time to finish executing in eac...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


check for a word
I need to check if the current folder name contains words: YES or DYES. such that: if it contains YES: a=1 if it contains ...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Plot Title Problem
My code title(filename); where filename is a variable such as Plot_Dot I would like the title to be exactly "Plot_Dot" ...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


data extract
I have data in a single column in the following format: 123456-123456.123.abcde I would like to extract 123456 between - a...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Moving a folder
I'd like to move a folder one directory down. DataFolder is a variable that contains the actual name of the folder. The problem...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Function
I'd like to be able to apply this function loads,plots and saves figure data from a text file, to every file in a directory, suc...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


save figure
How do I save this figure and supress so that the figure isn't actually shown? data=load('data.txt') plot(x)

mehr als 12 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


execute a function in several directories
how do I execute scritp.m function in different directories without having to navigate to each individual directory and run the ...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Create and name a directory
Hi I want to create a subfolder in some folder and name that subfoder as data-"name of the folder". So if folder name is INFO...

mehr als 12 Jahre vor | 3 Antworten | 1

3

Antworten

Frage


moving files sysntax
I would like to move files that start with data- to a folder called data that is in the same directory as the files: mkdir ('...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


binary files to text
I'm having a hard time grasping how to deal with binary files. I need to convert and manipulate in .txt. Can someone suggest a ...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


notation
what does () mean in the line below? x=somefunction()

mehr als 12 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


job timer
I'm doing some reading and manipulation of a very large text file and this takes alot of time. Is there a way to have a status b...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


storing filenames from directory
I would like to store filenames from a directory in a matrix. Filenames are of the following format: 11_1200.12.X 11_1201...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


load text file
I have a text file that is too large to load with the file=load'file.txt' command. it's basically many rows of numbers where eac...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


nested for loop
This code gives me 6 subplots like I need, howerver, what I'd like to do is for each subplot i'd like the X to switch trhough ...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


change of variable
I asked this question before but I missed an important point: I would like to be able to Change 'X7' . I don't want to Do any...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


toolbox fft
Hello, Is there a matlab toolbox with a gui that makes it easy to do FFT or other frequency analysis of sampled data?

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


change variable name
I would like to be able to Change 'X7' to anything else in psdest and title. So for instance instead of manually chaning it in b...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


PSD units conversion
I would like to have units of V/RootHz on the Y axis. I can get Volts by removing 10*log10 from code blow, but how do I get /roo...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


PSD question
What are the units of the Y axis of this code? I think it's dB/Hz but I'm not sure. fs=2000; Hs=spectrum.periodogram; % Use d...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


fft with frequency axis on log scale
Hello, I have a sampled signal and I'd like to take it's fft with the x axis on log scale. Also, is there anything wrong with th...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Time vector
I have 1000 data points and know that they were opbtained with 1Hz sampling. I also have begining time: Begining time = 12:00:0...

mehr als 12 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


New line inside for loop
Hi, I have a large matrix, and what I want to do is pick out first 3 elements of each row, transpose and stack on top of each ot...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


import some data from a text file
Hi, I have a text file with space separated numbers that I need to import into Matlab to do some processing on. Can not use the ...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Reading data into matlab
Hi, I have a text file with space separated numbers that I need to import into Matlab to do some processing on. Can not use the ...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort