回答済み
how would i find a postive root
One way to find the roots is described <http://www.mathworks.com/matlabcentral/answers/103169-how-do-i-find-all-the-zeros-of-a-f...

9年以上 前 | 0

回答済み
How to find the mean after every n columns?
NewMatrix = mymatrix(:,1:4:end); Youranswer = nanmean(NewMatrix , 2);

9年以上 前 | 0

回答済み
Why is does the y axis of the graph have the same value all the way down?
Because |y(x)| barely changes in the interval |1*pi:0.1:pi|. Try a more densely spaced vector: i.e. x = -1*pi:pi/18...

9年以上 前 | 0

回答済み
Newton Raphson m-file
I would recommend to take a look at Cleve Moler's book <http://nl.mathworks.com/moler/chapters.html Numerical Computing with M...

9年以上 前 | 0

回答済み
Differentiation of a vector wrt a vetor
Assuming |Ls| and |delk| are of the same size: diff(Ls)./diff(delk)

9年以上 前 | 0

| 採用済み

回答済み
.jpg as a background on gui
You can create a figure and remove the MenuBar. In this figure you can display your image, whose |parent| is an axis. You can se...

9年以上 前 | 0

回答済み
how compare two cplumns from different matrix;
Hallo Thodoris. [~, ii] = min(abs(bsxfun(@minus,A(:, 1)',B(:,1)))); % These are the row indexes of B(:,1) which are neare...

9年以上 前 | 0

| 採用済み

回答済み
Imaqtool cannot find any devices
As from Matlab version R2014b, you must manually install the video adapters for your camera. Read: <http://nl.mathworks.com/hel...

10年弱 前 | 0

回答済み
Using a timer to execute a function
A simple timer: t = timer('BusyMode', 'Drop', ... 'ExecutionMode', 'fixedDelay', ... 'S...

10年弱 前 | 0

| 採用済み

回答済み
link x-axis from one figure with y-axis from another figure
You could create a callback and then add a listener. So a minimal example would be: CallBack: function test(src, evt, ax...

10年弱 前 | 0

| 採用済み

回答済み
How to change the cell color of UITABLE in MATLAB?
Based on <http://nl.mathworks.com/help/matlab/ref/uitable-properties.html this> and <http://stackoverflow.com/questions/7409766/...

10年弱 前 | 0

| 採用済み

回答済み
How to save data of UITABLE in Workspace
If you want to get the data whenever the data change use this: f = figure; d = randi(100, 7, 3); t = uitable(f,'Dat...

10年弱 前 | 1

回答済み
Array input through MATALB - GUI
Yes it is possible with <http://nl.mathworks.com/help/matlab/ref/uitable.html uitable>. Check also the <http://nl.mathworks.com...

10年弱 前 | 0

| 採用済み

回答済み
YY axis scale on plotyy
Try to use linkaxes(AX, 'xy')

10年弱 前 | 0

| 採用済み

回答済み
Question about YDir, reverse
It should be set(gca, 'Ydir', 'reverse') The |plot| as mentioned above does not have a property |Ydir|. However...

10年弱 前 | 0

回答済み
How to translate cartesian coordinates into polar coordinates?
Your function is |cart2pol|. Check <http://nl.mathworks.com/help/matlab/ref/cart2pol.html here> for more help.

10年弱 前 | 0

回答済み
How can I use a USB webcam on Ubuntu linux 64-bit with MATLAB R2014b?
I have exactly the same problem with the same configuration (Check a similar post <http://www.mathworks.com/matlabcentral/answer...

10年弱 前 | 0

質問


Install video adapters in R2014b on Ubuntu 14.04 64bit system
I have a Ubuntu 14.04 64bit system on which I have installed R2014b. With previous versions of the Image Acquisition Toolbox, ...

10年弱 前 | 0 件の回答 | 0

0

回答

回答済み
Index of first empty cell in array?
If you want to add a certain value to each of the none empty rows in column 3 maybe you try the following: array(cellfun(@(x...

10年弱 前 | 0

回答済み
How can I change the elements of a matrix when hovering over its figure with the mouse?
Hi Bogdan! Maybe you can try this: close all; clear all; clc; fig = figure; set(fig, 'Color',[0,0.5,0.5]); g...

10年弱 前 | 0

| 採用済み

回答済み
set the values to nan
Try this Hana B1 = tb1; B1(A1==0) = NaN;

10年弱 前 | 0

回答済み
How can i make a n-pointed star?
Hello student from Korea! Why don't you try this? q = 4; % connect every qth point out of p points mingon = 2*q + 1;...

10年弱 前 | 5

回答済み
How do I replace zeroes in a <logical> 0 and 1 array with NaNs?
It didn't work because you were trying to replace logical values (the zeros/false) with doubles (the NaN). So first, convert th...

10年弱 前 | 1

| 採用済み

質問


Output class object inherits the property/value pairs of a figure
I am trying to write a simple class. The purpose of the class is to create a figure. What I do is: classdef myFig < ha...

10年弱 前 | 2 件の回答 | 0

2

回答

回答済み
Rendering issues in Matlab R2014b version when using patch
Thank you Mike for you input. The simplest workaround that can overcome this problem is setting the value |lm| very low. i.e. ...

10年弱 前 | 0

質問


Rendering issues in Matlab R2014b version when using patch
I am using |patch| to shade an area in a graph. The code that I am using is simple: lm = 0; s = 1:1000; d = [ones(1...

10年弱 前 | 3 件の回答 | 1

3

回答

解決済み


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

10年弱 前

回答済み
uicontrol text background color - value must be numeric
In your |uicontrol| when you use the |Fontsize| property remove the apostrophes around 12. It should be double not string.

10年弱 前 | 0

| 採用済み

回答済み
How do I remove rows with NaNs from my raw data?
I assume that your data are of nx1 or 1xn size. Then to delete the use this: data(isnan(data)) = [];

約10年 前 | 0

回答済み
Comparing two arrays of different length
You could this to find it: idx = ismember(A', B', 'rows'); c = 1:size(A, 2); d = c(idx); % is your answer

約10年 前 | 3

| 採用済み

さらに読み込む