답변 있음
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

| 수락됨

더 보기