photo

Voss


Last seen: Today 2013 年からアクティブ

Followers: 7   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

表示方法

回答済み
Code not displaying figure
The last end is in the wrong place. Placing it where you have it makes the projection generation and figure creation code part o...

約6時間 前 | 0

| 採用済み

回答済み
How to convert tables into numeric arrays?
C_512 is not a cell array of tables; it is a cell array of cell arrays of tables. % Load the .mat file load('./C_512.mat'); C...

約13時間 前 | 0

| 採用済み

回答済み
Is there a quick function to make an array whose elements are the sum of the row and column numbers?
function out = Fun(n) out = (1:n) + (1:n).'; end

1日 前 | 0

| 採用済み

回答済み
Regarding the GUI update to change the slider values.
Assuming app.dropdown is your dropdown component and app.slider is your slider component: if app.dropdown.ValueIndex == 1 ...

2日 前 | 0

| 採用済み

回答済み
how can add an text on GUI
f = uifigure(); t = uitextarea(f); str = 'some text'; t.Value = str; https://www.mathworks.com/help/matlab/ref/matlab.ui.c...

3日 前 | 0

回答済み
indexing groups of elements in a vector in a certain way
%matrix A A = [1 1 4 1 5 1 6 1 5 2 6 2 7 2 3 3 4 3 5 3 3 3]; %matrix B B...

3日 前 | 0

| 採用済み

回答済み
How can I add a marker to the legend with two x axes?
Interestingly, swapping the order of perr and terr in the legend() call makes both markers show up in the legend. pwa= [NaN;4.2...

3日 前 | 0

| 採用済み

回答済み
How to remove the number caused by 'grid on' and How to change the legend mark
w0=300; l1=2*w0; l2=w0^2; k=60; s=tf('s'); r=[0.9,1.2,1.3,1.4,1.8,2.5,3.5]; H=figure; for i=1:numel(r) transfer_func...

3日 前 | 1

回答済み
Two Plotting results one at a time like simulation
Let's say you have these x, y, and Slope variables: x = linspace(0,1,100); y = exp(x/2); Slope = 0.5*y; Then to plot y and S...

4日 前 | 0

| 採用済み

回答済み
Running a large array
You can read and process the file in sections, one section at a time, in a loop, by specifying the start and count input argumen...

4日 前 | 0

回答済み
I want to plot same X axis and different Y axis like timing diagram
I don't know what form your variables are in, but here's something: t = 0:0.5:4.5; Vc = [0 1 0 1 0 1 0 1 0]; Vb = [0 0 1 1 0 ...

4日 前 | 1

回答済み
Right now, changing the spinner's value will create a new maze, but the mazes are still 10-by-10. Try running the app to verify this behavior. To fix this, you can use the gr
% Callback function: GridSizeSpinner, NewMazeButton function NewMazeButtonPushed(app, event) % get the spinner's value: ...

4日 前 | 0

回答済み
Adding a column to a UITable and then using it.
app.StimInputTable.Data.Var4 = app.StimInputTable.Data.Var3./app.StimInputTable.Data.Var2; % ^^^^^ you we...

5日 前 | 0

| 採用済み

回答済み
I want to write data at the end of every nth line of a text file
str = readlines(filename); str(4:4:end) = str(4:4:end) + "c"; writelines(str,filename) where "filename" is the abso...

5日 前 | 1

| 採用済み

回答済み
Questions about the input X of pcolor and contourf.
I interpret the pcolor documentation as saying that a rectangular grid and a parametric grid are separate special cases, so the ...

7日 前 | 0

回答済み
With a ribbon plot, how to make the ribbons go along each matrix row instead of each column?
If you have some leeway on the x- and y-axis tick locations, you can use ribbon with the tranpose of Z and just alter the axis l...

8日 前 | 2

回答済み
Save graphical objects in .mat file for later use
You can use copyobj to copy an existing graphical object (e.g., scatter plot) to another parent (e.g., axes). Here's an example...

8日 前 | 0

| 採用済み

回答済み
With a ribbon plot, how to make the ribbons go along each matrix row instead of each column?
Z=[0,1,2,2; 1,2,3,3; 2,3,4,4; 3,4,5,5]; [m,n] = size(Z); Y = (0:m-1).'; X = (0:n-1).'; Original ribbon plot, for reference...

8日 前 | 1

回答済み
How can I make a graph like this for ANOVA 2-Way
The code that constructs bpdata takes the table data for each patient in turn and puts it together into a 2-row matrix with a co...

8日 前 | 0

| 採用済み

回答済み
How to programmatically change the command window text size?
s = settings; s.matlab.fonts.codefont.Size.PersonalValue = 16;

8日 前 | 0

回答済み
agrupacion de datos de una tabla
% first, I construct a table similar to yours N = 152709; MeasID = cellstr(char(64+randi(26,N,4))); Time = datetime(randi(30,...

9日 前 | 0

| 採用済み

回答済み
How to count the number of non-nan values for combination of multiple variables
% Initial table a = [1;1;1;2;2;2;2]; b = [660; 661; 661; 663; 663; NaN; 663]; c = [1;2;2;5;5;NaN;6]; d = [11;12;NaN; 13; 14;...

9日 前 | 0

| 採用済み

回答済み
What does the syntax matrix(vector) mean?
Indexing. https://www.mathworks.com/company/technical-articles/matrix-indexing-in-matlab.html

9日 前 | 0

| 採用済み

回答済み
Unrecognized function or variable 'RK'.
https://www.mathworks.com/matlabcentral/answers/96005-why-do-i-get-the-error-unrecognized-function-or-variable

9日 前 | 0

回答済み
How do I draw contours on multiple surfaces so that they line up
Maybe specifying a vector of contour levels, rather than the number of levels, is appropriate. For example: lev = 0.01:0.01:0.0...

9日 前 | 0

| 採用済み

回答済み
Error using feval Function to evaluate must be represented as a string scalar, character vector, or function_handle object.
Use the 's' (or "s") option in input() in order to store the result as text without evaluating it: fname = input('\n M-file con...

9日 前 | 0

回答済み
A problem with a code that works as it is but gives an index error when is used inside a function
Based on the error message, "Index in position 2 exceeds array bounds. Index must not exceed 100. Error in cleaner (line 118) z...

9日 前 | 0

回答済み
How can I write a 'for' loop that sums up all elements of a vector?
a = 1:5; total = 0; for ii = 1:numel(a) total = total+a(ii) end

10日 前 | 0

回答済み
Iterate over struct with length>1, with multiple fields
teststruct = struct('name', {'Alice', 'Bob', 'Eve'}, 'age', {24, 45, 35}) names = {teststruct.name} ages = [teststruct.age] O...

10日 前 | 0

| 採用済み

回答済み
How to plot RGB histogram of an image into a single 3D slice plot?
image = imread('peppers.png'); R = image(:,:,1); G = image(:,:,2); B = image(:,:,3); subplot(2,2,1); imshow(image); titl...

10日 前 | 2

| 採用済み

さらに読み込む