photo

Manas


Aktiv seit 2023

Followers: 0   Following: 0

I am a student in Electrical Engineering at IIT Kharagpur

Statistik

All
  • 3 Month Streak
  • Knowledgeable Level 1
  • Solver
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
Simulink - store signal and output as vector
Hi Tamar, You can save data from Simulink to a MAT-file using the To File block. To save it as an array, specify the Save forma...

etwa ein Jahr vor | 0

Beantwortet
How to acces the mask 'Property Editor' when in 'Graphical' mode?
Hii Ludo, You can Right Click on the Subsystem Block you want to edit mask, then click on 'Mask', you will see 'Edit Mask'. Yo...

etwa ein Jahr vor | 0

Beantwortet
Restrict ypred in fitrgp function
Hi Giacomo, There is no direct way to enforce constraints on the predicted values. You may use the following code to enforce th...

etwa ein Jahr vor | 1

| akzeptiert

Beantwortet
Skip folders in a for loop
Hi Indrani, I am assuming that you are using the fullfile function in matlab to get the addressess of each folder. This functio...

etwa ein Jahr vor | 0

Beantwortet
How to add extension to files using MATLAB
Hi Masha, You can try using the following code to add the.pdb extension to each file % Set the path to the directory where th...

etwa ein Jahr vor | 0

Beantwortet
smoothing the shading of pcolor plots
Hi, You can provide the interpolation method in the interp function, for example, cubic vq = interp1(x,v,xq,'cubic'); You ca...

etwa ein Jahr vor | 0

Beantwortet
How to create a time series dataset for prediction of load demand using matlab
Hi Aakanksh, you can use the following code for reference to build you dataset % Define time interval and duration timeInter...

etwa ein Jahr vor | 1

Beantwortet
How to plot points on map axes with varying colors using scatterm?
Hi Samuel, Can you provide the coastlines file? Also, you can checkout this answer and try out if it works for you Scatter wi...

etwa ein Jahr vor | 0

Beantwortet
Logical class what it is and how to import
Hii, For the info regarding Logical Class, you can refer to the following documentation: Fundamental MATLAB Classes - MATLAB...

etwa ein Jahr vor | 0

Beantwortet
Hydraulic diameter definition in docs
Hii, Yes the Hydraulic diameter defination is correct in the documentation. The unit of the hydraulic diameter depends on the u...

etwa ein Jahr vor | 0

Beantwortet
Simscape Vehicle simulation for predefined time, X,Y and orientation values
Hii, You can create a Simulink/Simscape simulation by importing the cad model using Simulink multibody. Use your input data to...

etwa ein Jahr vor | 0

Beantwortet
Simulink code generation from command line
Hello Hass, You can use the slbuild function to generate the C code as follows:- modelName = 'your_model'; % Replace 'you...

etwa ein Jahr vor | 0

Gelöst


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

etwa ein Jahr vor

Gelöst


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

etwa ein Jahr vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

etwa ein Jahr vor

Gelöst


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

etwa ein Jahr vor

Gelöst


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

etwa ein Jahr vor

Gelöst


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

etwa ein Jahr vor

Gelöst


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

etwa ein Jahr vor

Gelöst


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

etwa ein Jahr vor

Beantwortet
Power spectral density plot
you can use the following code which uses fft() function fft_voltage = fft(voltage); power_spectrum = abs(fft_voltage).^2; ...

etwa ein Jahr vor | 1