답변 있음
save all for loop data into workspace
Easiest way to do this is with indices within your code. Instead of having R be the value you are writing, you want to write R(c...

대략 8년 전 | 1

| 수락됨

답변 있음
ActiveX to open the selected spreadsheet in Matlab
ActiveX is very powerful for manipulating the actual excel document through excel, but takes a while to learn. If you are just l...

대략 8년 전 | 0

답변 있음
How to do interpolation
I would suggest making a new array to set your highest and lowest values. Then you can use the interp1() function. https://www.m...

대략 8년 전 | 0

| 수락됨

답변 있음
How can I calculate mean and standard deviation of each column in cell arrays with for loop?
You've really already got your indexing loops set up, you just need the equations. for ii=1:51 % Loops through each row in ...

대략 8년 전 | 0

답변 있음
Unsure why my for loop isnt working
One of the problems you're going to have is in your number of points definition. NPTS = size(ft,2); Your for loop looks ...

대략 8년 전 | 0

답변 있음
How to enable function is condition is true and ignore its updates till another condition is true
output = 0; if input1 == input3; output = 1; if input1-input2 > 5; output = 0; end end ...

대략 8년 전 | 0

답변 있음
Read in, edit, write out
For text files I usually read the file in with textread, and then run through for the lines I'm looking for using fgetl() which ...

대략 8년 전 | 0

답변 있음
how to index next element in a vector/ row in a table
Ok, I'm not entirely sure what exactly you're trying to accomplish, since you seem to be looking forward for greater values, but...

대략 8년 전 | 0

| 수락됨

답변 있음
Write the selection of a loop in excel
If I understood your question correctly, you want to keep all of the data, but sort based on data in the fourth column. cla...

대략 8년 전 | 0

| 수락됨

답변 있음
Loop a script and save each output as a new excel file
[filename, filedir] = uigetfile('*.txt','MultiSelect','on'); % UI to select isothermal files filepath = fullfile(filedir,...

대략 8년 전 | 0

질문


Solve array values starting with center value
I have an array of zeroes with two intersecting lines of values. I would like to solve for each of the remaining zero values wit...

대략 8년 전 | 답변 수: 0 | 0

0

답변

답변 있음
How can i group data according to size i impose?
V = [ 61 65 68 100 ]; for I = 1:length(V); if V(I)<= 65; C(I) = 1; else C(I) = 2; ...

대략 8년 전 | 0

답변 있음
How can I run an .exe from Matlab that requires user input?
Before you run the .exe create an ascii file (text file is fine) which contains the inputs you need for the .exe. Make sure you ...

대략 8년 전 | 0

답변 있음
Nested For Loop Help Please
In order to store the initial data I would suggest using a cell array. A(T0) = [your array here]; Then when you call the...

대략 8년 전 | 0

답변 있음
Hi everyone, I need your help on my two questions.
Q1 You're getting dimension mismatch because you're trying to put multiple sheets of A into a single sheet of k. k(:,:,y...

대략 8년 전 | 0

답변 있음
Automatically entering inputs into executable code at prompt
Ok, I figured out how to do this. Basically instead of entering the inputs as individual commands the inputs are entered into a ...

대략 8년 전 | 4

답변 있음
How can i get specific rows of a matrix without using loops?
c = a(b,:);

대략 8년 전 | 0

| 수락됨

질문


Automatically entering inputs into executable code at prompt
I have an old executable code, say run.exe, which asks for user inputs. I would like to create a script which automatically runs...

대략 8년 전 | 답변 수: 1 | 0

1

답변

답변 있음
how to read multiple csv files and save the data
Before you start the for loop, use uigetfile() to select all of the .csvs. [filename,filedir] = uigetfile('*.csv','Multisel...

대략 8년 전 | 2

답변 있음
Comparing elements of rows (in cell) and columns (in array) and plot results as 2D mash/grid
Fair warning, I have not actually looked at the arrays you presented. Task 1 can be completed in a couple of different ways. ...

대략 8년 전 | 0

| 수락됨

답변 있음
how to load set of files into different variables and take specific column of those files and make a matrix
If it is possible to open them with a text editor you could use the textread() command. This is designed to read ascii files, so...

대략 8년 전 | 0

답변 있음
large excel file reading.
It is possible to use the ActiveX ability, (actxserver('Excel.Application') to start excel) but this option can take a bit of le...

대략 8년 전 | 0

답변 있음
How to search an Excel file for a certain column, then save that entire column?
The table option may work, I personally don't have much experience reading tables. I tend to read excel files using the more com...

대략 8년 전 | 0

| 수락됨

답변 있음
How to delete Multiple rows in excel file using activex
You could try running a for loop: rowstodelete = [1 2 5 64]; for i = 1:length(rowstodelete); Activesheet.Rows.Ite...

대략 8년 전 | 0

답변 있음
Taking new value for a variable from excel at each step of Iteration
I don't know if you're still looking for an answer for this problem or not, but I figured I could try to help anyway. How this i...

대략 8년 전 | 0

답변 있음
How to add values from two different arrays into a matrix
Matlab sees them as either arrays or matrices, depending on the type of operations you use them for. Unfortunately I do not do m...

대략 8년 전 | 1

| 수락됨

질문


How to print an array with same column starting locations?
I have an array with varying size data values: A = [ 1.1 2.123 3.12 1 45.1234 567 1.23 -3.1...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


Understanding Cell Array Indices
I have a large cell array imported from a .csv file which contains numbers and strings. I am trying to use the index of a matchi...

8년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Opening another array of data
So you want to open the cell within the cell array? Generally that's done by something like the following: out{FirstLayer}{...

9년 초과 전 | 0

답변 있음
Call Excel cell contents for series name using ActiveX
After much research, and trial and error. It is possible to use the contents of an excel cell as a string by using .Value at the...

9년 초과 전 | 0

더 보기