photo

dpb


Last seen: Today 2012년부터 활동

Followers: 0   Following: 0

메시지

통계학

All
  • Revival Level 2
  • First Review
  • Master
  • Thankful Level 3
  • 36 Month Streak
  • Knowledgeable Level 5
  • First Answer
  • Solver

배지 보기

Feeds

보기 기준

답변 있음
With a ribbon plot, how to make the ribbons go along each matrix row instead of each column?
It can be done with plot3 excepting the Q? asked specifically how to do a ribbon. X=[1:4]; Y=[0:3]; Z=[0,1,2,2; 1,2,3,3; 2,3,...

대략 15시간 전 | 0

답변 있음
Retrieving RMS of a signal with variable sample rate
Straightforward, deadahead solution would be something like y=resample(y,tx,fs); y_rms=rms(y); where y is your beginning sign...

대략 19시간 전 | 0

답변 있음
How to plot a line on top of the continuous wavelet transform (CWT) output?
data = xlsread('signal.xlsx','1'); % Extract the time and signal columns t = data(:, 1); signal = data(:, 2); dt = t(3) - t(...

3일 전 | 0

| 수락됨

답변 있음
Matlab crash access violation
That's an official support/bug report issue. MATLAB shouldn't crash, but the forum volunteers don't have the inside info to be ...

4일 전 | 0

| 수락됨

답변 있음
problem with storing in an array
In extreme_point(num, :) = [oct_i, page_i, r, c, sigma_i, 0]; the RH side is a vector of 6 elements; as written, the LH side p...

4일 전 | 0

답변 있음
Import and Read data with several sheets
Hard to diagnose w/o the file, but try sheets=sheetnames('Gas.xlsx'); for k=1:numel(sheets) data{k}=readmatrix('Gas.xlsx','...

4일 전 | 1

| 수락됨

답변 있음
How to make the negative sign of y axis to be up ?
plot([-1000:100:100]); hAx=gca; hAx.YDir='reverse'; See axes documentation for all the details...

5일 전 | 0

답변 있음
How to get warning source
>> x(i:i) Warning: Colon operands must be real scalars. Array indices must be positive integers or logical values. >> [w...

6일 전 | 1

| 수락됨

답변 있음
Remove NaNs from struct fields embedded in a cell array
"...when using import data" That's the problem. How about instead attaching a sample data file that creates the issue and le...

6일 전 | 0

답변 있음
The Output structure of a code is showing different outputs in command window and workspace
As @John D'Errico says, they're both correct only the workspace browser has unfolded the various struct content that is only dis...

7일 전 | 0

답변 있음
How to plot a line on top of the continuous wavelet transform (CWT) output?
From one of the examples it appears that other than (rudely) executing a clf that clears any current figure when called, it look...

8일 전 | 0

답변 있음
List all custom properties and add a new one with actxserver Word
That is a Word Q?, not MATLAB. See the <Word VBA Reference>. Look at the object model section and find the custom properties o...

8일 전 | 0

답변 있음
ismember returning false for 0.6000 == 0.6
As the doc for ismember states (albeit only in the Tips section), Tips Use ismembertol to perform comparisons between floatin...

19일 전 | 0

답변 있음
Style Property Not Being Recognised
What I suspect you're actually looking for here may be the uitable graphics table instead...it has many of the fancy formatting ...

21일 전 | 0

답변 있음
I would like to know how to make sure the latitude labels have decimals in them.
Anywhere after the axis is created...for ease of coding, save the handle to the axis object when creating it. You haven't provi...

24일 전 | 0

답변 있음
I have a function that adds a legend I want to make the legend group certain plots together yet so that instead of a legend with 14 entries there is a legend with 5 entries
Nsamples = 7; G=ones(1,2*Nsamples); G(1:2:5)=1; G(2:2:6)=2; G(7:2:11)=3; G(8:2:12)=4; G(13:14)=5; M={'x','+','*','s','d'}...

25일 전 | 0

| 수락됨

답변 있음
How to assign labels to a dataset using 'signalDatastore' object?
Not at all sure about what you mean by "object helps to assign labels like imageDatastore object". signalDatastore <example> il...

26일 전 | 0

답변 있음
Subtract column values where leading columns have values flipped (i.e., (A,B,C1) - (B,A,C2))
load answers T T T.D=nan(height(T),1); for i=1:height(T) ix=find(all(fliplr(T{:,1:2})==T{i,1:2},2)); try T.D(i)=T....

27일 전 | 0

답변 있음
I am having trouble reading a txt file
In %data=textscan(fid,'%[index: 0 int_time:] %u64 %[us_int_diff: ] %s %s %s %s %s %s %s %s') you're forcing a match on a 0 in ...

27일 전 | 0

답변 있음
fitting a graph and coloring each fit
It's hard to understand why you would think using a single color triplet would do anything other than use the one color for all?...

28일 전 | 0

| 수락됨

답변 있음
Update a value in a struct in another function
Variables in functions are local to the function and you don't return the struct; in fact in myUpdate you don't return anything ...

30일 전 | 0

| 수락됨

답변 있음
MATLAB not indexing table with correct data type, how to specify data type when indexing table?
There are even more alternatives available with setvaropts including identifying the column(s) as hex. This adds the limitation...

30일 전 | 0

답변 있음
How to pass username and password to network location
<dir> doesn't know anything about user; there is no switch processing so it thinks you're looking for a file named \\server\sh...

30일 전 | 0

| 수락됨

답변 있음
Convert vector of numeric values into a vector of equivalent 8-bit 'int8' binary values
x = [-98 8 49 120]; cellstr(dec2bin(int8(x)))

대략 1개월 전 | 1

| 수락됨

답변 있음
Can I run 2 or more matlab scripts (each running in a separate matlab session) using the same data in a folder without them interfering with each other?
If they are started in separate sessions, they know nothing of each other. In a script within the same session, variables are c...

대략 1개월 전 | 0

| 수락됨

답변 있음
how to skip lines that start with a certain character while reading a text file
With the new information of R2018 that predates all the answers initially given, the easiest high-level toolset will be to use r...

대략 1개월 전 | 0

| 수락됨

답변 있음
using polyval with one of the polynomials of a spline obtained with the unmkpp command, the results do not overlap! Why?
% Data % Time Time=[7, 9, 11, 12]; % Temperture Temperature=[49, 57, 71, 75]; % Data Time query Timeq=[7:0.1:12]; % Res...

대략 1개월 전 | 1

답변 있음
How to add error bars to scatter plot?
We don't have your results nor equation; export it to a curve fit object from the interactive tool...then use it similarly as %...

대략 1개월 전 | 0

답변 있음
Find maximum of an array in a for loop?
GENERAL GUIDANCE: Do NOT name a variable load; it is a builtin in important MATLAB function; developing a habit of aliasing it ...

대략 1개월 전 | 0

답변 있음
Can Matlab cellular functions -like cellfun- work with non linearly spaced indices ?
Use direct indexing, no looping needed... N = 8; u = true(1,N); id = find(randi(2,1,N)-1); % non zeros positions in a random ...

대략 1개월 전 | 0

| 수락됨

더 보기