Answered
how can i display an answer for all iteration?
Apply condition inside loop as such if Maxit disp(yourvalues) which you want to display end ...

8 years ago | 0

| accepted

Answered
How can I fix the that error?
Size of th is 500by 4 and size of phi is 5 by 1 how can you add them??

8 years ago | 0

Answered
How to overcome an invalid use of operator error
Should be F(60,1)=Pop(:,1); P(60,1)=Pop(:,2); T(60,1)=Pop(:,3); r(60,1)=Pop(:,4); t(60,1)=Pop(:,5);

8 years ago | 1

Answered
I want to rotate a vector [1,3,3] to [0, 2/sqrt(2), 2/sqrt(2)] and find a group of angles that lets me do this?
Might help: <https://www.mathworks.com/matlabcentral/answers/357494-how-to-find-rotation-matrix-from-vector-to-another#answer...

8 years ago | 1

| accepted

Answered
라이선스 이동 횟수 제한 관련
If you are a student you can only use one version of matlab

8 years ago | 0

Answered
Put multiple loglog plots on one figure
Isn’t this normal? because the domain of the log function starts from 0+ to wards positive infinity that’s why it’s ignoring neg...

8 years ago | 0

Answered
import txt file containing some comment character = "#"
Mention: ....'CommentStyle','#') fileID = fopen(filename); %an example C = textscan(fileID,formats...

8 years ago | 0

| accepted

Answered
How do I write code processing grades?
_I need to assign Grade to the letter grades so I can print out both the average and the letter grade._ A1=70. %an exam...

8 years ago | 1

| accepted

Answered
how can I select or omit values to be considered or omitted in the results variable
files = dir('*.tif'); %EDITED theta = zeros(length(files),1); for n = 2:numel(theta)-1 if theta(n) > theta(n-1) && ...

8 years ago | 1

| accepted

Answered
Differentiate y = 3cos^2(2x) − e^x and use your answer find the gradient when x = 1
syms x y = 3*cos(2*x)^2 -exp(x) Yup=gradient(diff(y,x)) result=vpa(subs(Yup,x,1))

8 years ago | 0

Answered
Is there webcam zoom in Simulink?
<https://www.mathworks.com/hardware-support/webcam.html> <https://www.mathworks.com/help/supportpkg/usbwebcams/ug/set-prope...

8 years ago | 0

Answered
If sin(h) has a known value, how can I find h with matlab?
y = sin(x) asin(y) %gives value of x

8 years ago | 1

| accepted

Answered
Finding the index of a matrix corresponding to a particular column of another matrix
A= [4 12 ; 2 6] B = [9 4 8 12 ; 2 2 4 6] idx=find(any(A(:,1)==B))

8 years ago | 0

Answered
Program an inverse DFT
See <https://www.mathworks.com/help/comm/ref/ifft.html *ifft*>

8 years ago | 1

Answered
I have a problem with surface parameters (fsurf)
syms x y %edited f(x,y) = (3*x^2+y^2)*exp(-y-x); ezsurf(f) xlim([-2 2]) ylim([-2 2]) zlim([-5 5])

8 years ago | 1

| accepted

Answered
codertarget.createDriverProject('my_driver') problem
<https://www.mathworks.com/matlabcentral/answers/152692-problem-with-findpeaks-error-message-of-undefined-variable-coder#answer_...

8 years ago | 0

Answered
figure内のsubplotで共通のxticks,xticklabels,xlimを使う方法
h = subplot(3,3,1); h1 = subplot(3,3,1); xlabel(h,'x'); ylabel(h,'y'); xlabel(h,'t'); ylabel(h,'y'...

8 years ago | 0

Answered
how to get value out of a loop and into a vector
z = 2; N = 6; k=0:N; E = zeros(1,numel(k)); %preallocation for i = 1:numel(k) numerator(i) = z^k(i); de...

8 years ago | 0

Answered
New variable for each xlsread from a different file
See <https://www.mathworks.com/help/matlab/import_export/process-a-sequence-of-files.html *Processing sequence of files*>

8 years ago | 0

Answered
User-defined function error
A=[4 9 -3; 1 0 16] B=sqrtIsPos(A) % function calling should be before the function definition function B=sqrtIs...

8 years ago | 0

Answered
Ending an If Else loop
A=[0:5] B=zeros(1,numel(A)) % preallocation for doors and efficiency C=zeros(1,numel(A)) for I = 1:numel(A) ...

8 years ago | 0

| accepted

Answered
how to do inverse laplacian operator
ilaplace()

8 years ago | 0

Answered
combine 2 vectors to one result vector
idx=replace<0 y1(idx )=y(idx)

8 years ago | 0

| accepted

Answered
how to save figure with command
savefig('example.fig') see <https://in.mathworks.com/help/matlab/ref/savefig.html *savefig()*> for more information <h...

8 years ago | 1

| accepted

Answered
Plot v versus t. Use red (r) and plus sign (+).
plot(v,t,'-+r')

8 years ago | 0

Answered
How can i store values into an array while making summation
Stot(i)=sum(S(i)); %use iterator as an index to avoid overwriting also see <https://www.google.com/url?sa=t&rct=j&q=&e...

8 years ago | 0

| accepted

Answered
Define a vector y to have 10 random values.
y = rand(1,10) %or y = randi([1 10],1,10)

8 years ago | 1

| accepted

Answered
Define a vector t to have 10 values, from 0 to 9.
t=0:9

8 years ago | 0

| accepted

Answered
How to create a test cases in Test Harness using signal builder or test sequence from scratch in given model?
<https://in.mathworks.com/matlabcentral/answers/380975-what-are-the-methods-for-synchronization-merging-of-test-harness-s-to-new...

8 years ago | 0

Load more