photo

Manas


Active since 2023

Followers: 0   Following: 0

I am a student in Electrical Engineering at IIT Kharagpur

Statistics

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

View badges

Feeds

View by

Answered
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...

mer än ett år ago | 0

Answered
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...

mer än ett år ago | 0

Answered
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...

mer än ett år ago | 1

| accepted

Answered
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...

mer än ett år ago | 0

Answered
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...

mer än ett år ago | 0

Answered
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...

mer än ett år ago | 0

Answered
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...

mer än ett år ago | 1

Answered
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...

mer än ett år ago | 0

Answered
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...

mer än ett år ago | 0

Answered
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...

mer än ett år ago | 0

Answered
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...

mer än ett år ago | 0

Answered
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...

mer än ett år ago | 0

Solved


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...

mer än ett år ago

Solved


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 ...

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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...

mer än ett år ago

Solved


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...

mer än ett år ago

Solved


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...

mer än ett år ago

Solved


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

mer än ett år ago

Solved


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...

mer än ett år ago

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

mer än ett år ago | 1