Answered
matlab can't open camera of PC
You are required to download some additional adds-on packages just click on the link in the error message and download the requi...

8 years ago | 0

Answered
how do I plot cos^2(2x) for x values between 0 and pi/2? specifically a figure with 25 points and a figure with 50
figure(1); x=linspace(0, (pi/2), 25); y=(cos(2.*x)).^2; plot(x, y) figure(2); x=linspace(0, (pi/2), 50);...

8 years ago | 1

| accepted

Answered
Help with doing this simple problem please.
Use rand() and a loop to satisfy the condition , this would solve your homework problem

8 years ago | 0

Answered
How can I merge 2 differnt .m files in single .m files?
Save file1 and file2 as function files and call the functions in a separate file that’s it , nothing complicated

8 years ago | 0

Answered
How to normalize the values of matrix to make it greater than zero and less than one?
Try : Np = normalize(A,'norm',1) % A your matrix

8 years ago | 1

Answered
How can I dynamically create a cell array of cell arrays?
please read the link : *<https://in.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynami...

8 years ago | 0

Answered
Is there any toolbox needed for simulating Wireless Sensor Networks in matlab?
use the file exchange : <https://in.mathworks.com/matlabcentral/fileexchange/51262-wireless-sensor-networks-wsns?s_tid=answers_...

8 years ago | 0

Answered
Plot of maximum value of chosen column in matrix
t = linspace(0,10,15); t = t'; rng default M = rand(15,5); plot(t, M(:,1)); hold on m = M(:,1) [P,K]=find...

8 years ago | 0

Answered
how to find time difference between 2 times , in milliseconds.
<https://in.mathworks.com/help/matlab/ref/duration.milliseconds.html#buovb4_-2_1> convert the time array to milliseconds as sugg...

8 years ago | 0

Answered
How can i display my results in another matlab file ?
create a function file named file_x with the an input/s with outputs and call the function in file_y its not complicated

8 years ago | 0

Answered
sampling sawtooth sequence at high rate
fs = 10000 t = 0:1/fs:1.5; x1 = sawtooth(2*pi*50.*t); subplot(2,1,1) stem(x1) xlim([1 200])

8 years ago | 0

| accepted

Answered
how to run the loop 50 times and store the outputs
for x=(1:50) fun(x)=52537*(((0.00001*x^4)-(0.0003*x^3)+(0.0093*x^2)-(0.0843*x)+(0.1721))*(0.1534*exp(-0.089*((x-9.911)^2)))...

8 years ago | 0

| accepted

Answered
Can I find constants in a system of differential equations?
It's possible to find the constants when initial conditions are provided, use dsolve() to solve differential equations and make ...

8 years ago | 0

Answered
convert variable to table header
*<https://in.mathworks.com/help/matlab/ref/cell2table.html#btzdqfx-3>*

8 years ago | 0

Answered
Hi i'm trying to crate a table colums of table will be col1 col2 col3 col4 and col5. I have to store all iteration steps in a matrix. How can i do that?
clear; clc; syms m ; h=6.626e-34; k=1.3807*10^-3; C2=14388; C0=2.998e8; C1=2*pi*h*C0^2; ctr=1; T=table...

8 years ago | 0

| accepted

Answered
loop while for where
x=-1:0.001:1; %script file y=quantr(4,x); plot(x,y) xlabel('input'); ylabel('quantized output'); ...

8 years ago | 0

| accepted

Answered
How do i count same consecutive occurrences
<https://in.mathworks.com/matlabcentral/answers/77631-how-to-find-the-number-of-consecutive-occurrence-of-the-numbers#answer_872...

8 years ago | 0

Answered
Why different size on 2 files?
see <https://in.mathworks.com/matlabcentral/answers/97955-why-do-mat-files-for-variables-of-the-same-size-occupy-different-amoun...

8 years ago | 0

Answered
xmlread fails if the xml file extension is other than .xml
It is really common because the syntax works if and only if the function correlates to it , the option I choose is to just chang...

8 years ago | 1

| accepted

Answered
how to construct if for vectors with positive and negative?
Drehmomentbrauch1<= 0 & Drehmomentbrauch2 >= 0 %this condition is suffice I suppose

8 years ago | 1

Answered
Matlab is not getting started after installation
it's better to contact mathwork support team right away if the problem persists see <https://in.mathworks.com/company/aboutus/co...

8 years ago | 0

| accepted

Answered
Mean of an array with array elements
>> rRE_NeNMF_R=[2,2]; rRE_NeNMF_V=[2,2]; rRE_MU_R=[2,2]; rRE_MU_V=[2,2]; rRE_ALS_R=[2,2]; rRE_HALS_R=[2,2]; ...

8 years ago | 0

Answered
More line style in Matlab
plot(x,y,'-','LineWidth',10)

8 years ago | 0

Answered
Is there any code or command for doubling a point ?
double(points) %like this?

8 years ago | 0

Answered
MATLAB crashes frequently caused by internal errors
see *<https://in.mathworks.com/matlabcentral/answers/261366-why-does-matlab-crash-with-matlab-has-encountered-an-internal-error-...

8 years ago | 0

Answered
This code is not indexing values of x and y in .mat file
clear all for i = 1:9; x(i,:) = (i*1000)+1:(i+1)*1000; y(i,:)=x(i,:).^2; X_C = (i*1000)+1; ...

8 years ago | 0

| accepted

Answered
How can I calculate multi outputs in a single input?
see <https://in.mathworks.com/matlabcentral/answers/424875-unwanted-ans-in-my-output#answer_342206> for reference * use a f...

8 years ago | 0

Answered
My math lab is not acctivated telling me that i've used a wrong activation username ... but i can't do a thing . can the IT support get access to my account and help me ?
yes contacting them is the best option press the <https://in.mathworks.com/company/aboutus/contact_us.html?s_tid=gn_cntus *conta...

8 years ago | 0

Answered
Compress a 1D wave
wave %of size 1999*1 wave(1:361,1) %of size 361*1

8 years ago | 0

Load more