TastyPastry
2015 年からアクティブ
Followers: 0 Following: 0
統計
All
Feeds
回答済み
Programmatically performing "Expand axes to fill figure"?
You can grab the axes handle with something like h = axes; Now, when you finish plotting on the axes with the handle h, ...
Programmatically performing "Expand axes to fill figure"?
You can grab the axes handle with something like h = axes; Now, when you finish plotting on the axes with the handle h, ...
7年以上 前 | 1
解決済み
Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...
8年弱 前
解決済み
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
約8年 前
質問
How to extend a row vector down in increasing values?
Say I have the vector a = [4 5 6]; How can I make the vector into [4 5 6 5 6 7 6 7 8 7 8 9 ...] ...
約8年 前 | 1 件の回答 | 0
1
回答回答済み
Installing MATLAB 2016a creates blue screen and stops Windows from booting
That error usually is caused by faulty RAM. Have you tried running memtest86? You should try it with one stick of RAM at a time....
Installing MATLAB 2016a creates blue screen and stops Windows from booting
That error usually is caused by faulty RAM. Have you tried running memtest86? You should try it with one stick of RAM at a time....
8年以上 前 | 0
質問
Cannot print a figure using print()
Currently using the lines set(fig,'paperpositionmode','manual'); set(fig,'paperorientation','landscape'); set(fig,'pa...
8年以上 前 | 1 件の回答 | 0
1
回答回答済み
How to read a text file and split up into several text files saving with name successively.?
Well if you know your data has exactly the same number of points per experiment or you can obtain how many points there are per ...
How to read a text file and split up into several text files saving with name successively.?
Well if you know your data has exactly the same number of points per experiment or you can obtain how many points there are per ...
8年以上 前 | 0
質問
Is there a way to extract specific fields from a structure?
I have a 1x1 structure with a large number of fields of which I'd like to extract some subset. I don't want to have to use ...
8年以上 前 | 3 件の回答 | 0
3
回答回答済み
how can I sort the arrays according to example I explained below?
[Result,ind] = sort(Result); CoEff = CoEff(ind,:); Result = Result';
how can I sort the arrays according to example I explained below?
[Result,ind] = sort(Result); CoEff = CoEff(ind,:); Result = Result';
8年以上 前 | 1
回答済み
How to store info to 'handles' in a local function in GUIDE?
Try changing the single input call of guidata() to handles = guidata(hObject);
How to store info to 'handles' in a local function in GUIDE?
Try changing the single input call of guidata() to handles = guidata(hObject);
8年以上 前 | 0
回答済み
load txt as structure
Let's say your input line is stored in data: in = strsplit(data); st=struct(in{1},in{2},in{3},in{4},in{5},in{6});
load txt as structure
Let's say your input line is stored in data: in = strsplit(data); st=struct(in{1},in{2},in{3},in{4},in{5},in{6});
8年以上 前 | 0
回答済み
How to create a checker box image of white and black pixels without using inbuilt function?
myIm = uint8(zeros(rows,cols)); myIm = cat(3,myIm+255,myIm,myIm); imshow(myIm);
How to create a checker box image of white and black pixels without using inbuilt function?
myIm = uint8(zeros(rows,cols)); myIm = cat(3,myIm+255,myIm,myIm); imshow(myIm);
8年以上 前 | 0
解決済み
Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...
8年以上 前
回答済み
Plot in a figure of a gui and simultaneously open a new figure
You can switch the focus between an axes and figure by calling them with an output, the figure handle, and using the axes() and ...
Plot in a figure of a gui and simultaneously open a new figure
You can switch the focus between an axes and figure by calling them with an output, the figure handle, and using the axes() and ...
8年以上 前 | 0
回答済み
reading data with loop
Your for loop declaration is wrong. Needs to be: i=1:129 Try using textscan(), which can take in a file and a format and...
reading data with loop
Your for loop declaration is wrong. Needs to be: i=1:129 Try using textscan(), which can take in a file and a format and...
8年以上 前 | 0
回答済み
I am new to Matlab and i am searching for the correct code to make a plot push button into GUI after loading data from a file (another push button) .The plot i wanna do is the following but i stuck in callback functions etc
So you need two callback functions in order to do this. The first callback will load your data and the second will plot your dat...
I am new to Matlab and i am searching for the correct code to make a plot push button into GUI after loading data from a file (another push button) .The plot i wanna do is the following but i stuck in callback functions etc
So you need two callback functions in order to do this. The first callback will load your data and the second will plot your dat...
8年以上 前 | 0
回答済み
How to apply fprinf for matrix
fh = fopen('newFile.txt','w'); for i=1:size(myData,1) fprintf(fh,'%d %d %d\n',a(i,1),a(i,2),a(i,3)) end
How to apply fprinf for matrix
fh = fopen('newFile.txt','w'); for i=1:size(myData,1) fprintf(fh,'%d %d %d\n',a(i,1),a(i,2),a(i,3)) end
8年以上 前 | 2
質問
Can I dynamically change a structure name
I have a function which takes in multiple .mat files, reads part of them and consolidates them into a cell array. Currently m...
8年以上 前 | 1 件の回答 | 0
1
回答回答済み
Fastest Way of Opening and Reading .csv Files (Currently using xlsread)
There's a function csvread() which only works on numeric data. The other way you can do it is to use textscan(). Both of thos...
Fastest Way of Opening and Reading .csv Files (Currently using xlsread)
There's a function csvread() which only works on numeric data. The other way you can do it is to use textscan(). Both of thos...
8年以上 前 | 0
解決済み
Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...
8年以上 前
解決済み
Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...
8年以上 前
回答済み
Trouble displaying uicontrol text when it's a decimal
When I run your code, the number doesn't show up. This is because your uicontrol() textbox isn't wide enough. I change the 'posi...
Trouble displaying uicontrol text when it's a decimal
When I run your code, the number doesn't show up. This is because your uicontrol() textbox isn't wide enough. I change the 'posi...
9年弱 前 | 1
| 採用済み
回答済み
Why does Matlab use 'log' instead of 'ln'?
I mean conversely, you could argue why do we use ln() when log() without a specified base could be used as the natural log. Ther...
Why does Matlab use 'log' instead of 'ln'?
I mean conversely, you could argue why do we use ln() when log() without a specified base could be used as the natural log. Ther...
9年弱 前 | 0
回答済み
How to plot using semilogy
<http://www.mathworks.com/help/matlab/ref/semilogy.html The documentation on the function provides the information you're lookin...
How to plot using semilogy
<http://www.mathworks.com/help/matlab/ref/semilogy.html The documentation on the function provides the information you're lookin...
9年弱 前 | 0
回答済み
How to delete data from GUI uitable with a push button?
Set a pushbutton callback to edit the data in a uitable. You'll need a way to access the handles of the figure your uitable is c...
How to delete data from GUI uitable with a push button?
Set a pushbutton callback to edit the data in a uitable. You'll need a way to access the handles of the figure your uitable is c...
9年弱 前 | 0
| 採用済み
回答済み
How can i set dynamic axis limits in GUI?
Make sure wert_x is greater than 0, get rid of the single quotes around the vector. The 'xlim' property of an axes is a numeric ...
How can i set dynamic axis limits in GUI?
Make sure wert_x is greater than 0, get rid of the single quotes around the vector. The 'xlim' property of an axes is a numeric ...
9年弱 前 | 0
回答済み
Radio Buttons in a listdlg?
From how I understand the predefined user input GUIs in Matlab, it's difficult, if not impossible to change them. However, they'...
Radio Buttons in a listdlg?
From how I understand the predefined user input GUIs in Matlab, it's difficult, if not impossible to change them. However, they'...
約9年 前 | 0
回答済み
Adding clock in GUI?
You can do something like this: t = datestr(datetime('now','TimeZone','local','Format','d-MMM-y HH:mm:ss Z')); This will...
Adding clock in GUI?
You can do something like this: t = datestr(datetime('now','TimeZone','local','Format','d-MMM-y HH:mm:ss Z')); This will...
約9年 前 | 0
回答済み
how to make a table from matrix data?
Your data needs to be inputted as columns. Create variables "Monday", "Tuesday" and "Wednesday" and assign them their data. T...
how to make a table from matrix data?
Your data needs to be inputted as columns. Create variables "Monday", "Tuesday" and "Wednesday" and assign them their data. T...
約9年 前 | 0