photo

Voss


Last seen: Today 2013년부터 활동

Followers: 5   Following: 0

메시지

통계학

All
  • MATLAB Central Treasure Hunt Finisher
  • Treasure Hunt Participant
  • Most Accepted 2023
  • Master
  • Commenter
  • Leader
  • 24 Month Streak
  • Thankful Level 5
  • Most Accepted 2022
  • Revival Level 4
  • Knowledgeable Level 5
  • Promoter

배지 보기

Feeds

보기 기준

답변 있음
How to change color of berfit curve
Temp_x = [ 9 8 7 6 5 4 3 ]; Temp_y = [ 1e-3 5e-3 1e-2 2e-2 3e-...

대략 6시간 전 | 0

| 수락됨

답변 있음
Figure no longer comes with MenuBar and tools the
You can try set(groot,'defaultFigureMenubar','figure') set(groot,'defaultFigureToolbar','figure') to have the menu ba...

대략 23시간 전 | 0

답변 있음
contains 函数在运行相同代码时,为什么返回了不同的逻辑数组?
There is a hidden character at the beginning of the first store_name{1} store_name ={'宜昌水果店','武汉水果店'}; +store_name{1} % char...

1일 전 | 0

| 수락됨

답변 있음
Interpolating for multiple curves and finding the y axis value
x = [0 7.1702 9.1995 9.5716 11.3641 12.0744 12.5141 13.1736 13.4104 13.867 14.7294 15.1015 16.9448 17.0631 17.2322 18.3484 19.00...

1일 전 | 0

답변 있음
Error using cat Dimensions of arrays being concatenated are not consistent. Error in cell2mat m{n} = cat(1,c{:,n});
load dataTable NC = cellfun(@numel,dataTable.Cohesion); Cmin = repelem(dataTable.CohesionMin,NC,1); Cmax = repelem(dataTabl...

1일 전 | 0

| 수락됨

답변 있음
To plot one stem with multiple values for data of different months.
Maybe something along these lines: unzip('Processed_results.zip') % load the files F = dir(fullfile('Processed_results','*....

1일 전 | 0

| 수락됨

답변 있음
How to combine cell arrays to form one nested cell array entry
% 4x3 instead of 64x634, for demonstration X = { ... {1 2} {3 4} {5 6}; ... {7 8} {9 10} {11 12}; ... {13 14} {1...

2일 전 | 0

| 수락됨

답변 있음
Checkbox in header row for uitable
It would have to be a separate uicheckbox (or uicontrol) object, separate from the uitable. You can position it to appear to be ...

2일 전 | 0

| 수락됨

답변 있음
Index in position 1 exceeds bounds
Check the value of TimeStamp and figure out why it's not what you expect, because regexp doesn't return any matches for that Tim...

2일 전 | 1

답변 있음
Need to change the direction of polar plot theta tick labels from counterclockwise to clockwise.
theta = linspace(0,360,50); rho = 0.005*theta/10; theta_radians = deg2rad(theta); h = polarplot(theta_radians,rho); set(...

2일 전 | 0

답변 있음
How to combine cells into a single cell?
b = a;

2일 전 | 0

| 수락됨

답변 있음
Plotting Lines and Points in 3D
A = [1 -3 7]; B = [0 2 -6]; C = [0.5 -1 5]; % plot a line from A to B v = [A; B]; plot3(v(:,1),v(:,2),v(:,3)) box ...

2일 전 | 0

| 수락됨

답변 있음
Random Matrix creation from the elements of a given vector
M = A(randi(numel(A),7,20));

3일 전 | 0

| 수락됨

답변 있음
How plot a grid of rectangles on an overlaid circle?
R = 5; % circle radius L = 1; % horizontal grid spacing W = 2; % vertical grid spacing C = [7 8]; % center of the circle %...

3일 전 | 1

답변 있음
Normalising multiple columns of a matrix to a fraction of its maximum value
To divide each column by its maximum value: data_normalized = data./max(data,[],1); Example: data = rand(21,5); % random data...

3일 전 | 1

| 수락됨

답변 있음
loop Will only open the files in starting folder
matFiles = dir(fullfile(pwd,'**','*.mat'));

4일 전 | 1

| 수락됨

답변 있음
Use fixed colormap or colorbar scale for series of 3D bar graphs in video animation
See clim: https://www.mathworks.com/help/matlab/ref/clim.html

4일 전 | 1

| 수락됨

답변 있음
Barchart colorbar colors from second vector
You need to set the colormap of the figure or axes. %% clear close all clc ids1 = [2,4,5,6,8]; meanVals = [0.2,0.204,0...

4일 전 | 0

| 수락됨

답변 있음
Returning data from uibutton callback
An easy way to make the callback update the value of t is to nest the callback function inside the main function (which requires...

5일 전 | 0

답변 있음
Custom colorbar labeling centered on colors
f = figure; set(gca,'xtick',[],'xticklabel',[],'ytick',[],'yticklabel',[],'color','w'); set(f,'units','pixel','position',[70,7...

5일 전 | 1

| 수락됨

답변 있음
Why is it doing all 100 attempts as a singular go?
Your code does the same thing 100 times because the random values don't change from one iteration to the next. I guess you woul...

5일 전 | 0

| 수락됨

답변 있음
Speed up Some Code
% generate and collect all the P's first nJ = numel(J); P = cell(1,nJ); for ii = 1:nJ P{ii} = randperm(k,J(ii))+1; end ...

5일 전 | 0

| 수락됨

답변 있음
how to aviod the two loops
[X,Y] = meshgrid(x,y); A = [X(:),Y(:)];

6일 전 | 0

답변 있음
how to use "range" in uislider
s = uislider(fig,"Limits",[1 50]); <https://www.mathworks.com/help/matlab/ref/matlab.ui.control.slider-properties.html>

6일 전 | 1

답변 있음
str2num is returning and empty matrix: []
You don't need to use cell2mat; just use curly braces to get the contents of a cell in a cell array. For example: datetempDat ...

8일 전 | 0

답변 있음
str2num is returning and empty matrix: []
There may be a character you don't see, at the beginning of the file, which is included by importdata at the beginning of the fi...

8일 전 | 0

| 수락됨

답변 있음
How do i extract a column from an array
This stores the 3rd column of the array A as Col1 (and displays Col1 in the command window): Col1 = A(:,3) Is that what you wa...

8일 전 | 0

답변 있음
graph multiple excel or csv files
% get info about the (4) files S = dir('*.xlsx'); % construct full path file names filenames = fullfile({S.folder},{S.name}...

8일 전 | 0

| 수락됨

답변 있음
Different Output value of Functions
Implementation 1 has x*y^2 in the third term; Implementation 2 has x1*x2^3 in term3. f_value = (1.5- x+ x*y)^2 + (2.25 - x + x*...

9일 전 | 0

| 수락됨

답변 있음
Placing transparent rectangles on top of a plot
It's hard to say for sure what the problem is without the data, but one problem might be that the axes Y-Limits are outside wher...

9일 전 | 1

| 수락됨

더 보기