回答済み
compile MatLab into standalone exe, how to pass matrices as input.
"[A]rguments can be passed to standalone applications created using MATLAB® Compiler™ in the same way that input arguments are ...

7年以上 前 | 0

| 採用済み

回答済み
Change figure legend horizontal spacing
Something legend gives no control of directly Increase the width of the legend will spread them out hLg=legend('gefeuert','ni...

7年以上 前 | 1

回答済み
xlswrite Issue: not writing an entire column
The first column of data is a column of cells each containing a cell containing... xlswrite can't handle that. data(:,1)=...

7年以上 前 | 0

回答済み
Percentage of each elements in a 3d matrix
There's no point in the output array having P planes... V=value; [~,~,N]=size(A); B=100*sum(A>V,3)/N;

7年以上 前 | 1

| 採用済み

回答済み
How to make a while loop fill out an array?
Tlist = { 'DEB' 'DEB' 'TFR' 'DEB' 'DD' 'DEB' 'FPI' 'DEB' 'CPT'}; lup={'DEB','DD','CPT','FPI','FPO','CHG','TFR'}; >> [~,Tt]=i...

7年以上 前 | 1

| 採用済み

回答済み
How can i find the average for specific rows
Put into a table and use grpstats and friends...

7年以上 前 | 0

回答済み
what is wrong with the following code, i get the following massege :Subscripted assignment dimension mismatch. Error in Untitled3 (line 14) y2(i)=purelin(y22);
... x=b(:,i); y1=w1*x+b1; y1=tansig(y1); y22=w2*y1+b2; where b --> 3x1 b1 --> 3x1 b2 --> 2x1 w1 --> 3x3 w2 --> ...

7年以上 前 | 0

回答済み
How to extract a subset of person identified data from several excel files into one excel file
Well, there's a lot of code that will read a spreadsheet, but there's probably nothing that you can just blindly throw at the pa...

7年以上 前 | 1

| 採用済み

回答済み
using acummarray to average several columns at a time?
t=readtable('sampledata.xls','ReadVariableNames',0); % read file to table t.Properties.VariableN...

7年以上 前 | 2

回答済み
creating a vector where each element needs to be calculated before hand
If X is a vector of numel(X) = 6, then Z=A*exp(B*X); if A,B are constants; otherwise it depends on what they are and what is t...

7年以上 前 | 0

| 採用済み

回答済み
Find number of row in a table.
Preliminaries... E1 =[1 1 4 5 1 1 3 1 1 1 2 5 1 1 1 1 3 ...

7年以上 前 | 1

| 採用済み

回答済み
How to read Hd5 files in a folder with respect to dates which is itself in the file name
If you just want to retrieve files of a given date, then the simplest solution is mydate='01DEC'; % the dat...

7年以上 前 | 1

質問


Alternate Command Processor on Windows
Bad, bad, TMW! :) Appears the shell commands under Windows don't pay any attention to what user COMSPEC is...one gets CMD.EXE ...

7年以上 前 | 1 件の回答 | 1

1

回答

回答済み
Polarplot axis label: how to edit the value?
hPP=polarplot(x,y); % plot, save handle hPA=hPP.Parent; % retrieve polar axes handle (parent of polar...

7年以上 前 | 1

| 採用済み

回答済み
Error in ode45 Question
The error message is quite explicit as to at least one problem -- the output from your function MSsys must be a column vector an...

7年以上 前 | 0

回答済み
Extract values from a matrix using a for loop
for i=1:20 A1=A(i:i+2,i:i+2); ... The first indices into A are the same as the second expression. i i:i+2 A subsc...

7年以上 前 | 0

回答済み
Dimensions of arrays being concatenated are not consistent error.
result_file.ActualSpeaker = T.Label{1}; ... result = [result; struct2table(result_file)]; You're trying to catenate char() ar...

7年以上 前 | 1

回答済み
how to average multiple monthly data?
Convert to table or timetable and use retime and/or findgroups/splitapply for these kinds of operations.

7年以上 前 | 0

| 採用済み

回答済み
Char function for a cell array
The cell array would be >> Name = {'MATE'; 'GEAR'; 'FIVE'; 'SLOW'} % define column cellstr array Name = 4×1 cell array ...

7年以上 前 | 0

回答済み
How to seperate similar data stacked up in one coulmn into multiple columns
This is going to be somewhat of a pain in the proverbial appendage...it's not even clear what constitutes an iteration for certa...

7年以上 前 | 0

| 採用済み

回答済み
Find average for each year
That should work fine excepting you didn't allocate for the different means by year and overwrote the variable meanT on each ite...

7年以上 前 | 0

| 採用済み

回答済み
How to calculate the mean for the number of occurances
u=unique([C{:}]); n=cell2mat(cellfun(@(x) histc(x,u),C,'uni',0)); n(n==0)=nan; x=cell2mat(arrayfun(@(x,n) repmat(x,1,n),u,rou...

7年以上 前 | 0

| 採用済み

回答済み
How can I set the FormatSpec to read this numerical value?
ML doesn't have the facility built into any of the text conversion routines to handle the omitted exponent indicator; some Fortr...

7年以上 前 | 0

| 採用済み

回答済み
Converting C++ to Matlab code!
disp("\nReading values from 'xxxx3padata.txt' file.....") val=importdata('xxxx3padata.txt'); Rmn=mean(abs(val)); Rms=rms(va...

7年以上 前 | 0

| 採用済み

回答済み
I am unable to understand what happening in this code of Variance of 3*3 neighborhood
Just the point(s) r away from each point in the input image array in each plane. If the image were 256x256, and r were 5, say, ...

7年以上 前 | 0

回答済み
Hi All, I have several days worth of time stamped data. Unfortunatly the date has not been provided. How can I convert the time to datetime and increase the date by one day when the time passes 00:00:00? Thankyou
tsd=readtable('tsd.txt'); tsd.Var1=datetime(tsd.Var1); du=[duration(0,0,0);diff(tsd.Var1)]; ix=find(du<0); tsd.Var1(ix:end)=...

7年以上 前 | 0

| 採用済み

回答済み
Printing just one column in text file in scientific notation
>> ab=[110.51 1.2222e-13 111.50 1.3897e-13 112.49 1.2342e-14 113.48 8.8123e-15]; >> fmt=['%8.2f %12.5e \n']; >> fprintf(fmt...

7年以上 前 | 1

| 採用済み

回答済み
Discard unwanted information from string array
Alternatively, there's the new(ish) extractAfter function that was introduced with the new strings class... >> extractAfter(s,"...

7年以上 前 | 2

回答済み
How to find the index of a specific column in a matrix?
>> [~,ib]=ismember(x.',F.','rows') ib = 4 2 1 3 >>

7年以上 前 | 1

| 採用済み

回答済み
How to sum 2 .mat file (Complex int)
The assignment of LOAD to a LHS variable creates a struct of the variable name provided with the fields the variable names in th...

7年以上 前 | 0

さらに読み込む