Community Profile

photo

Voss


Last seen: Today 自 2013 起处于活动状态

Followers: 2   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 cycle through elements in an array in Matlab
To account for indexing in MATLAB starting with 1, subtract 1 from the iteration number, perform mod(), then add 1 to the result...

7 hours 前 | 1

已回答
Input command not showing the prompt until answer is put in the command window
The clc in your script is interfering with displaying the first input prompt at the right time. You can get around the problem b...

12 hours 前 | 0

已回答
How to put textbox in same position of the plots
You asked this question a month ago, and I answered it at that time: <https://www.mathworks.com/matlabcentral/answers/2096466...

13 hours 前 | 0

| 已接受

已回答
Error message when trying to plot 3D surface plot with colour bar
"'Concentration at Final Time Step'" would seem to indicate that you want to plot a surface from the last page of the 3D array C...

15 hours 前 | 0

| 已接受

已回答
Is there a way to make msgbox copy-paste?
I don't think there's a way to do that using msgbox, but you can copy text from an 'edit'-style uicontrol, such as is created by...

1 day 前 | 0

已回答
Conditional retime method in a timetable
Maybe something like this: S = load('timetable.mat'); T2 = S.T2; dt = 1; t = seconds(T2.Time); N = round((t(end)-t(1))/...

1 day 前 | 1

| 已接受

已回答
Only change ytick fontsize
ax = gca(); ax.YAxis.FontSize = 20;

2 days 前 | 1

| 已接受

已回答
How to have individual numbers combine into a larger number
One option is to use the 's' second input to input, which signifies that the user input is returned as a character vector. Then ...

2 days 前 | 0

已回答
Transfer data between App Designer and Matlab (m file)
Scripts run in the workspace they are called from; that may be the base workspace, but in this case it's the workspace of the fu...

2 days 前 | 1

| 已接受

已回答
Unable to perform assignment because the left and right sides have a different number of elements(funtion in a while loop).
I don't have the function spere_derive_2d, so I can't run the code, but I guess that spere_derive_2d returns at least 4 outputs,...

3 days 前 | 0

已回答
Fitting data to a new set of frequency
You can use interp1. Example follows: % some made-up data defined on those frequency vectors f1 = 1:0.33:34; f2 = 2:0.5:21; ...

3 days 前 | 0

| 已接受

已回答
Trying to combine two IR spectra where x is wavenumber (cm-1) and y is transmittance (0 to 1), having trouble.
You'll can interpolate the two spectra onto a common set of wavenumbers. Then you can add the interpolated spectra together. Her...

3 days 前 | 0

已回答
Hello. Just start to learning this program. I have .mat file with many colons and i want to make a plot only from two of them, how can i make it ?
This is presuming that the variable in your mat file is called "Data"; if it's called something else, replace "Data" in the code...

3 days 前 | 0

| 已接受

已回答
How to write a program to generate a table of the base-10 logarithms between 1 and 10 in steps of 0.1?
x = (1:0.1:10).'; y = log10(x); T = table(x,y,'VariableNames',{'x','log10(x)'})

3 days 前 | 0

已回答
인덱스가 배열 요소 개수를 초과합니다. 인덱스는 0을(를) 초과해서는 안 됩니다. 오류 해결 방법 있을까요 ?
Assuming data is meant to be a cell array (and using readcell to make it such), adjusting the row indexing to account for the fi...

3 days 前 | 1

已回答
Tornado chart with colormap gradient
jet is a function that takes up to 1 input argument (the number of colors - call it N) and returns a colormap (which is an N-by-...

3 days 前 | 0

已回答
How to append Nested cell array to .csv file
"I have attached the .txt file here which need to be read and written in a new file. Issue is i have 5000 such files which needs...

3 days 前 | 0

已回答
Matrix versus Scalar Input Into Functions Using Symbolic Toolbox
% What it should be qA = A.^2 + 2*A + 15 ; % ^^ element-wise operation

3 days 前 | 1

已回答
Hello everyone! So i am kind of new to MATLAB. I created a UI with tabs, however when i maximise the UI figure, the tabs do not resize along with it. How can i manage this? Thank you in advance.
It seems like having AutoResizeChildren set to 'on' (which is the default) conflicts with positioning children whose Units are '...

3 days 前 | 0

已回答
How to Reshape a Matrix into a Cell
% 821x9 matrix (filled with integers for illustration) M = reshape(1:821*9,9,[]).' % convert to the required cell array C = n...

4 days 前 | 0

已回答
Hello, All. Thank you in advance for any help, contribution and your time. I have been asked to do a contour plot with a data vs time (date and month), the data is like ID.ST
Maybe something like this would work: % read the file into a cell array C = readcell('data.txt'); % make that cell array into...

4 days 前 | 0

已回答
Axis does not plot in app designer
You are plotting scalars: plot(app.grafica_pwm, muestra(i), H2 * 100, muestra(i), H1 * 100) scalars don't show up unless they ...

4 days 前 | 0

已回答
Sort table into 2 tables
T = readtable('instruct_04152024_update.csv'); disp(T) idx = ismember(T.user_id, T.user_id(T.score == T.max_score)); T1 = T(i...

4 days 前 | 0

| 已接受

已回答
How to read the data in app design.
The problem is that you are storing each "Number of Bags" edit field as app.EditField_1. That is, you give them all the same nam...

4 days 前 | 1

| 已接受

已回答
How to have a different interval between xticks and xticklabels on a datetime plot?
"xtick mark appearing at each midnight, but an xticklabel (i.e. date info) appearing every other midnight" Using xtickformat se...

4 days 前 | 1

已回答
Reading multiple .txt files and plotting a graph
% folder where your txt files are your_folder = '.'; % get info about all .txt files in your_folder (use 'S*.txt' instead %...

4 days 前 | 1

| 已接受

已回答
IF statement if == "A variable" not working
"The IF statement not working when I use IF == b, but works with IF = 99999" The behavior is not the same when using b vs when ...

4 days 前 | 0

已回答
Error using / Matrix dimensions must agree app designer
Use ./ instead of / <https://www.mathworks.com/help/matlab/matlab_prog/array-vs-matrix-operations.html>

5 days 前 | 1

| 已接受

已回答
Printing sentences using cell arrays
Here's a way to generate multiple random sentences at once: Names={'Harry','Xavier','Sue','Howard','Fred'}; % adding two names ...

5 days 前 | 0

已回答
How to put existing figures in one figure together?
% open the fig files in two new figures f1 = openfig('fig1.fig','invisible'); f2 = openfig('fig2.fig','invisible'); % get t...

5 days 前 | 0

| 已接受

加载更多