Question


ISMEMBER() modified result desired
[lia,locb]=ismember(A,B); returns the first/last matching location in B of the elements in A that occur in B depending on which...

plus de 7 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Create new vector from 2 differnet cells
You could use loops, but that's not "the MATLAB way!"... This also superfically seems like a place cell arrays may be in the wa...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
How to remove period stamp in datetime plot ?
This was a side subject of a thread some time back with the need to combine durations with times at which the event durations oc...

plus de 7 ans il y a | 7

Réponse apportée
How to load text file and extract number from file that is not organized into columns?
That's a very nicely organized file in the sections...you just have to know what the section headers are and which you want... ...

plus de 7 ans il y a | 0

| A accepté

Question


Debug and Focus, Huh?
Is there no way to make focus stay in command window instead of jumping to editor when reach breakpoint???? Am always typing on...

plus de 7 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Writing multiple matrices into text file
fid(i)=fopen(filename, 'wt'); From the doc for fopen -- permission: 'w' Open or create new file for writing. Discard e...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
[DISCONTINUED] MATLAB Answers Wish-list #4 (and bug reports)
I would put a hard character limit of (say) 50 characters on the Title -- mandate that the question is in the text, do NOT even ...

plus de 7 ans il y a | 1

Réponse apportée
Hello, i want to display separate (side by side) bar on one graph. below is my code but its display bars on single column. and image what i should do?
AMENDED: Rank = [15678 10987 15243 3467 1234; 1111 3456 13456 3345 1038].'; C = categorical ({'Google','Bin...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Explode cell that are into another cell
OK, I overlooked the regular expression in the format string that sucks up all of those extra blanks at the end of the odd-man-o...

plus de 7 ans il y a | 1

Réponse apportée
Preallocate char array: Wrong values
Any array must be rectangular; char() arrays are no different. The array must be as wide (have as many columns) as the longest ...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 7 ans il y a | 1

Réponse apportée
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)=...

plus de 7 ans il y a | 0

Réponse apportée
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;

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
How can i find the average for specific rows
Put into a table and use grpstats and friends...

plus de 7 ans il y a | 0

Réponse apportée
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 --> ...

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
using acummarray to average several columns at a time?
t=readtable('sampledata.xls','ReadVariableNames',0); % read file to table t.Properties.VariableN...

plus de 7 ans il y a | 2

Réponse apportée
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...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 7 ans il y a | 1

Question


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 ...

plus de 7 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
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...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 1

Réponse apportée
how to average multiple monthly data?
Convert to table or timetable and use retime and/or findgroups/splitapply for these kinds of operations.

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 7 ans il y a | 0

Réponse apportée
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...

plus de 7 ans il y a | 0

| A accepté

Charger plus