Respondida
How do i convert Julian date to Month date?
s='2018-107T18:49:39.164'; infmt=['uuuu-D''T''H:m:s.SSS']; fmt='dd MMM yyyy HH:mm.ss.SSS'; >> t=datetime(s,'Input...

alrededor de 8 años hace | 1

Respondida
Using regular expression to read part of the filename
*AMMENDED -- dpb* Don't need regular expressions for that purpose, just select the first N-3 characters in the file name... ...

alrededor de 8 años hace | 0

Respondida
convert excel datetime to time in matlab
Specific file always helps as Walter suggests, but try a=datetime(xlsread(fileName,'C3:C30000'),'convertfrom','excel'); a....

alrededor de 8 años hace | 1

Respondida
how can i install matlab 2018b (64 bit) on my window (32 bit).
No can do. R2015b was the last 32-bit version. <https://www.mathworks.com/support/sysreq/previous_releases.html> <ht...

alrededor de 8 años hace | 0

Respondida
Read excel comments into Matlab
Try this as starter--it's a routine I built to process some data stored as comments on a worksheet for the local community colle...

alrededor de 8 años hace | 0

Respondida
Matrix subtraction errors using repmat
# You can subtract/add/multiply/divide any sized array with a scalar without |repmat| so you're "fixing" a problem that isn't a ...

alrededor de 8 años hace | 0

Respondida
Plotting very small and large values on same figure.
Look at doc yyaxis to put the two on separate axes that will cover range of each variable independently for starters, at...

alrededor de 8 años hace | 0

| aceptada

Respondida
how to remove duplicates in correlations matrix
x=triu(x,1); Need to convert from N variables to an array to do this effectively. I'd guess that would be beneficial going ...

alrededor de 8 años hace | 0

| aceptada

Respondida
how to know the distribution of my data
Plotting the data it definitely is _not_ normal; has long RH tail and isn't symmetric. For hypothesis testing it would be bet...

alrededor de 8 años hace | 0

Respondida
How can I extracting a signal pulse from a data
_"extract the first pulse (which is also the highest pulse)"_ Presuming you can be assured of the assumption, the first is th...

alrededor de 8 años hace | 1

| aceptada

Respondida
Hello, Please how can i plot a stem plot of lets say 300 data points?
figure hS=stem(X(:,2),Y(:,2)); % draw stem plot, save stem object handle hold on % so can add onto exi...

alrededor de 8 años hace | 0

Respondida
Stretching a rectangle over a date axis
Ayup, "no can do" it seems...another place TMW either hasn't yet got a round tuit or didn't think it needed to add an overloaded...

alrededor de 8 años hace | 1

| aceptada

Respondida
Read text file with a header & not tab delimited
Here's where some new-fangled stuff comes into play -- the fixed-width import object. Since the portion of the file of intere...

alrededor de 8 años hace | 2

Respondida
Repeating Matrix Element Until N Times
Just one of many possible ways... L=length(y); N=7; x=repmat(y,ceil(N/L),1); x=x(1:N);

alrededor de 8 años hace | 2

Respondida
Delete empty cells in 3 dimensional cell array
That's a 2D cell array w/ three columns, not a 3D array. c=c(~cellfun(@isempty,c));

alrededor de 8 años hace | 0

Respondida
How to find and store certain rows of an array
_"sadly, not exactly what I'm needing :/"_ Au contraire... :) % make up some fake data... t=repmat([190:10:230].',6,1...

alrededor de 8 años hace | 0

Respondida
Is there any way to have labels in color for boxplots?
They're just XTickLabel values; set as desired as with any other axes. For some reason TMW hasn't made a color property for t...

alrededor de 8 años hace | 0

| aceptada

Respondida
I have a question on usage for fft to get fourier series back.
|FFT| returns the two-sided DFT so half the energy is in each of +ive and -ive frequencies. However, there is only one DC compo...

alrededor de 8 años hace | 0

| aceptada

Respondida
How to correct a problem with arguments in my fprintf
More than missing the format strings for any outputs is the unneeded for loop and bad indexing expression. fprintf('At the ...

alrededor de 8 años hace | 0

Respondida
Loop appears to be infinite, how to assign new matrix based on seemingly simply conditionals?
_"create a new variable, 'temp_activeTime', that corresponds to all time-series in the EMG matrix that align with the time data ...

alrededor de 8 años hace | 0

Respondida
How do i sort csv file in righ order??
A) Don't name them that way..use >> num2str([1:3].','%03d.csv') ans = 3×7 char array '001.csv' '002.c...

alrededor de 8 años hace | 0

Respondida
Fit and Plot a Polynomial Surface
Check spelling... :) x1=[100 200 300 400]'; [x,y]=meshgrid(x,y1); You defined |x1| but used |x| as argument instead.....

alrededor de 8 años hace | 0

| aceptada

Respondida
How to plot a histogram object
bar(foo(3).BinEdges(2:end),foo(3).BinCounts) or |doc histogram| recommends |save/loadfig|

alrededor de 8 años hace | 1

| aceptada

Respondida
Why arent the labels and ticks being ran in my code?
Wrong order, call |plot| last *or* use hold on before |plot| to keep what's already been drawn. BTW, I strongly suspe...

alrededor de 8 años hace | 0

Respondida
3D bar y axis problem
OK, try this... % first just make some similar sample data... z1=repmat([0.07 0.062 0.055 0.05].',1,3); z1=z1+rand(si...

alrededor de 8 años hace | 1

Respondida
how to input multiple items given a prompt?
You can input whatever you wish at the prompt as long as it's a valid ML expression. >> input('?') ?[2, pi, sqrt(10)] ans...

alrededor de 8 años hace | 0

| aceptada

Respondida
[DISCONTINUED] MATLAB Answers Wish-list #4 (and bug reports)
I wish the ability to Delete or Close a Q? while someone is preparing an Answer could be disabled -- several times I have just f...

alrededor de 8 años hace | 5

Respondida
Saving struct to an Excel file
s.rev='Rev 1'; s.ymin=1; s.pkpk=rand(3,1); s.pkpkDB=rand(3,1); >> struct2table(s,'AsArray',1) ans = 1×4 tabl...

alrededor de 8 años hace | 0

Respondida
How to fill the remaining "N" number of rows, of an already populated vector, with zeros
Alternatively, and _perhaps_ more efficient depending upon how |GV| is generated/obtained... GV(Ntotal,1)=0; ...

alrededor de 8 años hace | 0

Respondida
Open a text file and count the number of digits
function [num,n] = digit_counter(filename) % Returns total number and optional distribution of integers 0 thru 9 % in te...

alrededor de 8 años hace | 0

| aceptada

Cargar más