Réponse apportée
Aligning 2D Point Cloud data with X-Axis
Well, that's somewhat of a different problem statement.. <https://www.researchgate.net/publication/303329343_Least-squares_Fi...

presque 8 ans il y a | 0

Réponse apportée
Aligning 2D Point Cloud data with X-Axis
I'll repeat the Comment made in previous followup-- Actually, it's a fignewton of a visual optical illusion effect; if you co...

presque 8 ans il y a | 0

Réponse apportée
Deriving specific rows from a large text files
Read as table or timetable; deal with the asterisks as needs must depending on whether they're real or not... Two alternative...

presque 8 ans il y a | 1

Réponse apportée
Axes limits - plotv
Sure, it's still just drawn on a normal axes object xlim([-1.5 1.5]); ylim([-1.5 1.5]);

presque 8 ans il y a | 1

| A accepté

Réponse apportée
Help speeding up a plot
At a minimum w/o digging more deeply 1) Before beginning simulation define color vector C=[repmat([0.6 0.3 0],8,1); ...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
How can remove a certain element from all the rows of a matrix
Well a "matrix" with differing numbers of elements by row must be a cell array, _not_ a matrix in Matlab, just to get the termin...

presque 8 ans il y a | 0

Réponse apportée
shifting time in timetable
Not sure what the "want" really means--the present time just a day later for each observation or what, precisely? On the pres...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
How to change a font (any other property e.g. title) of histogram subplot axes using subplot handle
It's a sequencing issue; you set the axes properties before the call to create the histogram object and it has its own internal ...

presque 8 ans il y a | 0

Réponse apportée
How can I enter a transfer function without writing down the exponents?
num=8.75*[4 0.4 1]; den=conv([100 1]),[1 0.24 1]); convolution of polynomial coefficient vectors is same as multiplicati...

presque 8 ans il y a | 1

Réponse apportée
How to read one row at a time from Excel and increment?
Use Matlab as it is designed; a MATrixLAB instead... data=xlsread('XXXX'); S=std(data,2,'omitnan'); M=mean(data,2,'o...

presque 8 ans il y a | 0

Réponse apportée
extracting numbers with different decimal extention
I'm sure there is |regexp| but I'm just not adept-enough w/o a lot of time and effort...the "dead-ahead" solution-- >> ...

presque 8 ans il y a | 0

Réponse apportée
running x.m file many times. I want to store values separately.
N=25; % or whatever max number is n=5; % or whatever number observations/iteration is p=zeros(N...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
why 'getnameidx' does not work?
_"getnameidx will be removed in a future release. Use contains instead..."_ I don't have the Financial TB to test but seems t...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
I have a simple plotting gui via user input using buttons and wish to save figure on the axes as an jpg image using a pushbutton. what do I need to write on the pushbutton callback?
... fn='yourchosenfilename'; saveas(gcf,fn,'jpeg') See doc saveas % for more details

presque 8 ans il y a | 0

| A accepté

Réponse apportée
Why does my for-loop substitute only one value throughout 31 iterations?
function my_fsolve2() % Constant Parameters A = 6.24; B = 5.68e-5; C = 1.7e-3; D = 6.55...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to import an excel sheet with date&time and separate sheets by date
Sure, just read in and use the datetime data to group by day. See very similar Q? asked here <https://www.mathworks.com/matlabc...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
find unique sets of values in matrix, eliminate duplications
Well, until the last step...you lost me there as to what you actually want as final result but can at least identify who you're ...

presque 8 ans il y a | 1

Réponse apportée
Processing array where the elements are sometimes min/sec and sometimes hour/min/sec
OK, thanks to Peter for triggering the idea on how to add the missing hour substring dynamically! :) >> et=cellfun(@(s) du...

presque 8 ans il y a | 1

Réponse apportée
How to find value on the graph
Alternatively to just finding point in the dataset.. ix=find(abs(B)==1); % find the breakpoint locations in ...

presque 8 ans il y a | 0

Réponse apportée
How to use splitApply to get the coefficients of fitlm?
|splitapply| can only take a function handle, not an anonymous function. You'll have to write an intermediary function that cal...

presque 8 ans il y a | 0

Réponse apportée
Processing array where the elements are sometimes min/sec and sometimes hour/min/sec
I won't claim it's elegant and certainly not "most" so, but... function et=raceDuration(tstring) % return durations ...

presque 8 ans il y a | 1

Réponse apportée
Populating values in a vector based on function
function [real_time] = time_from_videos_to_second_convertor(time_data_observation,frame_rate_played_video,real_time_vec) f...

presque 8 ans il y a | 1

| A accepté

Réponse apportée
How to get monthly average
t=readtable('month.xlsx'); t=table2timetable(t); mn=retime(t.Var1,'monthly',@mean); I didn't download the file so if ...

presque 8 ans il y a | 0

Réponse apportée
Rows in a matrix with a certain outcome
>> sum(ismember(sort(x,2),[.6 .7 1],'rows')) ans = 2 >> Generalize the set looking for instead of using the hardco...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
different operations for same string
Sounds pretty French to me! :) function s=strfutz(s) % futz with characters in string % generate the test pr...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
How can I store my looping delimiter output into a new matrix row with each iteration?
See where this gets you... zip_files = dir('*.zip'); F=[]; for k = 1:numel(zip_files) F=[F, unzip(zip_files(k).n...

presque 8 ans il y a | 0

Réponse apportée
How to set table VariableNames from a cell?
OK, there was enough of a hint that you used _Regression Learner_ App. I'd never even opened it before, but since you used "Chu...

presque 8 ans il y a | 2

| A accepté

Réponse apportée
Split a large intraday 1 minute data for each DATE into MATRIX for each DATE?
Presuming this is in a |timetable| from the |timeseries| in Trading TB, |retime| is one way to apply a function. Alternativel...

presque 8 ans il y a | 1

| A accepté

Réponse apportée
I call a function but i keep receiving that the input i place are not assigned
function[deg] =C_dec(O1,O2) c_dec =01 + (02/60); The return value in the function definition is "deg"; you calculate...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
How to extract data from a table based on a specific variable
# Convert the categorical variables from character representation to |categorical| # Use |findgroups| and |splitapply|, |grpsta...

presque 8 ans il y a | 0

| A accepté

Charger plus