Feeds
문제를 풀었습니다
the function, the box of boxer briefs, being twice the amount being manufactured twice as much x
return y as the function multiplied by x twice
거의 10년 전
문제를 풀었습니다
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
거의 10년 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
거의 10년 전
답변 있음
How do I solve the following problem with rounding?
Please try this: x=-2:0.1:2; find(abs(x-0.9) < eps) ans = 30
How do I solve the following problem with rounding?
Please try this: x=-2:0.1:2; find(abs(x-0.9) < eps) ans = 30
10년 초과 전 | 1
답변 있음
Saving Structure leads to error "Index exceeds matrix dimensions."
I think the main issue in your code is related to the filename. The filename cannot have "/". Use another separator instead.
Saving Structure leads to error "Index exceeds matrix dimensions."
I think the main issue in your code is related to the filename. The filename cannot have "/". Use another separator instead.
10년 초과 전 | 0
답변 있음
How can detect or remove object that have area between 2 values?
Please try this code, I tried to write this code very clear (not efficient), please let me know if it is not clear clc ...
How can detect or remove object that have area between 2 values?
Please try this code, I tried to write this code very clear (not efficient), please let me know if it is not clear clc ...
10년 초과 전 | 1
| 수락됨
답변 있음
why do I get the error Subscript indices must either be real positive integers or logicals?
I am not sure 100% as I couldn't guess your data. But if your rr and ss is 1:2 so Hf(rr-1,ss-1,:,:) is: Hf([0 1], [0 1] , :,:). ...
why do I get the error Subscript indices must either be real positive integers or logicals?
I am not sure 100% as I couldn't guess your data. But if your rr and ss is 1:2 so Hf(rr-1,ss-1,:,:) is: Hf([0 1], [0 1] , :,:). ...
10년 초과 전 | 0
| 수락됨
답변 있음
Histogram of 2 sets of data in same plot, different columns, same bin
Please try this code, I have modified <http://www.mathworks.co.uk/help/matlab/creating_plots/overlay-bar-graphs.html this> . ...
Histogram of 2 sets of data in same plot, different columns, same bin
Please try this code, I have modified <http://www.mathworks.co.uk/help/matlab/creating_plots/overlay-bar-graphs.html this> . ...
10년 초과 전 | 2
답변 있음
v(n:1)=1 where n>1
Matlab doesn't reverse the order. Try this code: A=1:10; n=3; A(n:1)=1 or run this: 3:1 answer is: a...
v(n:1)=1 where n>1
Matlab doesn't reverse the order. Try this code: A=1:10; n=3; A(n:1)=1 or run this: 3:1 answer is: a...
10년 초과 전 | 0
답변 있음
Calculate angles between two intersecting lines using the slopes
<</matlabcentral/answers/uploaded_files/16805/Angle%20between%20two%20lines.png>> This image is from this video: https://w...
Calculate angles between two intersecting lines using the slopes
<</matlabcentral/answers/uploaded_files/16805/Angle%20between%20two%20lines.png>> This image is from this video: https://w...
10년 초과 전 | 0
답변 있음
Image Processing: Counting Lines in a Range of Angles
Hi Cole. Please try this code. I hope it can give you some ideas clc clear all close all [filename, pathname] = ...
Image Processing: Counting Lines in a Range of Angles
Hi Cole. Please try this code. I hope it can give you some ideas clc clear all close all [filename, pathname] = ...
10년 초과 전 | 0
| 수락됨
답변 있음
how to Save Data in Excel Sheet ?
Please try this code: clc clear % Your Inputs NewName = {'Adnan'}; NewValues = [24,18, 3.55]; % Check i...
how to Save Data in Excel Sheet ?
Please try this code: clc clear % Your Inputs NewName = {'Adnan'}; NewValues = [24,18, 3.55]; % Check i...
10년 초과 전 | 2
| 수락됨
답변 있음
basic question on creating a function and plotting
Please try this code and compare the results: disp('%%%%% Run1 %%%%%%'); syms K0 e a; F=K0*e*a*(a-1)/(1+e-a*e); ...
basic question on creating a function and plotting
Please try this code and compare the results: disp('%%%%% Run1 %%%%%%'); syms K0 e a; F=K0*e*a*(a-1)/(1+e-a*e); ...
10년 초과 전 | 0
답변 있음
adding a regression area to a 3d plot
Hi Mostafa. Try this code: x=5*rand(1,1000); % 1000 random number between 0 and 5 x=x'; % transpose (row to vector) y...
adding a regression area to a 3d plot
Hi Mostafa. Try this code: x=5*rand(1,1000); % 1000 random number between 0 and 5 x=x'; % transpose (row to vector) y...
10년 초과 전 | 0
답변 있음
different colour combinations in matlab
Sindhu, use this code: x=[1:20]./7; y=sin(x); hold on for i=1:length(x) plot(x(i),y(i),'*',... 'color', ...
different colour combinations in matlab
Sindhu, use this code: x=[1:20]./7; y=sin(x); hold on for i=1:length(x) plot(x(i),y(i),'*',... 'color', ...
10년 초과 전 | 0
답변 있음
How to replace certain values in an existing array based off of inputdlg?
Hi Roel. Try this code: Rsh = str2num(char(answer{1})); Rs = str2num(char(answer{2})); Isc = str2num(char(answ...
How to replace certain values in an existing array based off of inputdlg?
Hi Roel. Try this code: Rsh = str2num(char(answer{1})); Rs = str2num(char(answer{2})); Isc = str2num(char(answ...
10년 초과 전 | 0
| 수락됨
답변 있음
Through script its possible to identify the particle size????
Hi vinothkannan, Please try this code. If your image is .tiff convert it to .jpg before running the code. clc clear all ...
Through script its possible to identify the particle size????
Hi vinothkannan, Please try this code. If your image is .tiff convert it to .jpg before running the code. clc clear all ...
10년 초과 전 | 0
| 수락됨
답변 있음
FOR loop with IF condition alternative
Please try this code. You will only need to specify your limits (L matrix) I = [1:1:10; 10:10:100]'; L = [1 3 7 10]; % l...
FOR loop with IF condition alternative
Please try this code. You will only need to specify your limits (L matrix) I = [1:1:10; 10:10:100]'; L = [1 3 7 10]; % l...
10년 초과 전 | 0
답변 있음
Progress or status bar while using getframe
Please try this code. May be this is not the exact answer for your question. But perhaps can be an alternative. Z = peaks; ...
Progress or status bar while using getframe
Please try this code. May be this is not the exact answer for your question. But perhaps can be an alternative. Z = peaks; ...
10년 초과 전 | 0
답변 있음
How to share variables between two GUI callbacks
I don't have access to Matlab now, but I hope this helps you: Look at "setappdata" and "getappdata" documents. for example in...
How to share variables between two GUI callbacks
I don't have access to Matlab now, but I hope this helps you: Look at "setappdata" and "getappdata" documents. for example in...
10년 초과 전 | 3
답변 있음
Running multiple simulations in multiple workspaces
You don't need to have separate variables. Please try this code: S = 'This is Variable S for the first run' % use th...
Running multiple simulations in multiple workspaces
You don't need to have separate variables. Please try this code: S = 'This is Variable S for the first run' % use th...
10년 초과 전 | 0
답변 있음
How can I remove (set to NaN) values in matrix starting at row index value and all following values which differ for each column
Please try this code. I hope it works for you a=-4; b=5; zdr=(b-a).*rand(959,359) + a; kz=randn(997,359); for i=1:size(z...
How can I remove (set to NaN) values in matrix starting at row index value and all following values which differ for each column
Please try this code. I hope it works for you a=-4; b=5; zdr=(b-a).*rand(959,359) + a; kz=randn(997,359); for i=1:size(z...
10년 초과 전 | 0
| 수락됨
질문
Can a PhD student use Matlab's student version?
Hello everyone, I am using Matlab's Student Version for my PhD research. Today I checked this version's terms and condition. It...
10년 초과 전 | 답변 수: 1 | 0